openbsd-ports/x11/fvwm95/patches/patch-modules_FvwmIconMan_FvwmIconMan_c
2004-01-15 17:45:57 +00:00

18 lines
1.2 KiB
Plaintext

$OpenBSD: patch-modules_FvwmIconMan_FvwmIconMan_c,v 1.1 2004/01/15 17:45:57 espie Exp $
--- modules/FvwmIconMan/FvwmIconMan.c.orig 2004-01-15 18:37:29.000000000 +0100
+++ modules/FvwmIconMan/FvwmIconMan.c 2004-01-15 18:37:54.000000000 +0100
@@ -320,11 +320,11 @@ static char *conditional_copy_string (ch
int id = manager; \
if (id == -1) { \
for (id = 0; id < globals.num_managers; id++) { \
- globals.managers[id].##field = value; \
+ globals.managers[id].field = value; \
} \
} \
else if (id < globals.num_managers) { \
- globals.managers[id].##field = value; \
+ globals.managers[id].field = value; \
} \
else { \
ConsoleMessage ("Internal error in SET_MANAGER: %d\n", id); \