summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2023-12-27 23:08:57 +0100
committerTim Wiederhake <twied@gmx.net>2024-01-01 12:21:24 +0100
commitf426fa565397b4df53f3f534d3c2bc7bc5857f59 (patch)
tree1221cfe01020f2e41fc90430383be0987a1de283
parent9f68ff072905dba3197deae8d8b275bbacd3f728 (diff)
Remove always-true ifndef TOM
Signed-off-by: Tim Wiederhake <twied@gmx.net>
-rw-r--r--src/util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util.c b/src/util.c
index d89dcfe..d45a8a2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -478,10 +478,8 @@ GetColor(int kind, Pixel *what, const char *name)
Status stat = 0;
Colormap cmap = Scr->TwmRoot.cmaps.cwins[0]->colormap->c;
-#ifndef TOM
if (!Scr->FirstTime)
return;
-#endif
if (Scr->Monochrome != kind)
return;
@@ -553,10 +551,8 @@ GetColorValue(int kind, XColor *what, const char *name)
XColor junkcolor;
Colormap cmap = Scr->TwmRoot.cmaps.cwins[0]->colormap->c;
-#ifndef TOM
if (!Scr->FirstTime)
return;
-#endif
if (Scr->Monochrome != kind)
return;