diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-09-06 13:55:00 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-09-06 13:55:00 +0200 |
commit | d07122673c9c66b41cf311ff4c9d1abed49fc669 (patch) | |
tree | 1818f7660aae60e9fbc4d328653da15a59292e78 | |
parent | a0253e25c45c66083b751d075cf9a73aa0a183f4 (diff) | |
download | polecat-d07122673c9c66b41cf311ff4c9d1abed49fc669.tar.gz polecat-d07122673c9c66b41cf311ff4c9d1abed49fc669.zip |
fix incorrectly hiding unfinished commands
its ifdef not ifndef
-rw-r--r-- | src/lutris.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lutris.c b/src/lutris.c index 3831947..ec1f14d 100644 --- a/src/lutris.c +++ b/src/lutris.c @@ -8,7 +8,7 @@ #include "common.h" const static struct Command lutris_commands[] = { -#ifndef DEBUG +#ifdef DEBUG { .name = "install", .func = lutris_install, .description = "install a lutris script" }, #endif { .name = "info", .func = lutris_info, .description = "show information about a lutris script" }, @@ -11,7 +11,7 @@ const static struct Command main_commands[] = { { .name = "wine", .func = wine, .description = "manage wine versions" }, -#ifndef DEBUG +#ifdef DEBUG { .name = "dxvk", .func = dxvk, .description = "manage dxvk versions" }, #endif { .name = "lutris", .func = lutris, .description = "run lutris instraller"}, |