mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
wmaker: Replaced local 'extern' definition of wPreferences by proper header usage
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
3803ae6493
commit
74cd836e48
@@ -82,7 +82,7 @@ char *Locale = NULL;
|
||||
|
||||
int wScreenCount = 0;
|
||||
|
||||
WPreferences wPreferences;
|
||||
struct WPreferences wPreferences;
|
||||
|
||||
WShortKey wKeyBindings[WKBD_LAST];
|
||||
|
||||
@@ -599,7 +599,7 @@ int main(int argc, char **argv)
|
||||
/* setup common stuff for the monitor and wmaker itself */
|
||||
WMInitializeApplication("WindowMaker", &argc, argv);
|
||||
|
||||
memset(&wPreferences, 0, sizeof(WPreferences));
|
||||
memset(&wPreferences, 0, sizeof(wPreferences));
|
||||
|
||||
wPreferences.fallbackWMs = WMCreateArray(8);
|
||||
alt = getenv("WINDOWMAKER_ALT_WM");
|
||||
|
||||
Reference in New Issue
Block a user