aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-09-06 13:55:00 +0200
committerJan200101 <sentrycraft123@gmail.com>2020-09-06 13:55:00 +0200
commitd07122673c9c66b41cf311ff4c9d1abed49fc669 (patch)
tree1818f7660aae60e9fbc4d328653da15a59292e78 /src
parenta0253e25c45c66083b751d075cf9a73aa0a183f4 (diff)
downloadpolecat-d07122673c9c66b41cf311ff4c9d1abed49fc669.tar.gz
polecat-d07122673c9c66b41cf311ff4c9d1abed49fc669.zip
fix incorrectly hiding unfinished commands
its ifdef not ifndef
Diffstat (limited to 'src')
-rw-r--r--src/lutris.c2
-rw-r--r--src/main.c2
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" },
diff --git a/src/main.c b/src/main.c
index c8b506c..9b506ca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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"},