Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit aae8dd8b0b2766ae03647ea585a9a48a1fa251ad Author: rani <clagv.randomgames@gmail.com> Date: Thu Jan 12 20:14:37 2023 +0000 Replace '#ifdef ICONS' with #if directives diff --git a/src/io.c b/src/io.c index 5f27f2c..f558667 100644 --- a/src/io.c +++ b/src/io.c @@ -4567 +4567 @@ void resize_fbufcur(long c) {  int get_fwidth(struct dir_entry_t * de) {   int w = 0;   w += strlen(de->name); -#ifdef ICONS +#if ICONS   if (show_icons) w += 2;  #endif   @@ -6067 +6067 @@ void print_oneshot(void) {   int fwidth = get_fwidth(de);     -#ifdef ICONS +#if ICONS   if (show_icons) icon = get_icon(de);  #endif   diff --git a/src/main.c b/src/main.c index 091e27b..f687897 100644 --- a/src/main.c +++ b/src/main.c @@ -577 +577 @@ int main(int argc, char ** argv) {   case 'c':   color = !negate_next;   break; -#ifdef ICONS +#if ICONS   case 'i':   show_icons = !negate_next;   break;