Commit 0a2a9da3 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Splash.c: Fix wrong function names in TEST/DEBUG output

parent 0e54be63
...@@ -86,14 +86,14 @@ int nxagentShowSplashWindow(Window parentWindow) ...@@ -86,14 +86,14 @@ int nxagentShowSplashWindow(Window parentWindow)
GC gc; GC gc;
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentShowSplash: Got called.\n"); fprintf(stderr, "nxagentShowSplashWindow: Got called.\n");
#endif #endif
#ifdef NXAGENT_TIMESTAMP #ifdef NXAGENT_TIMESTAMP
{ {
extern unsigned long startTime; extern unsigned long startTime;
fprintf(stderr, "nxagentShowSplash: Initializing splash start at [%d] milliseconds.\n", fprintf(stderr, "nxagentShowSplashWindow: Initializing splash start at [%d] milliseconds.\n",
GetTimeInMillis() - startTime); GetTimeInMillis() - startTime);
} }
#endif #endif
...@@ -133,7 +133,7 @@ int nxagentShowSplashWindow(Window parentWindow) ...@@ -133,7 +133,7 @@ int nxagentShowSplashWindow(Window parentWindow)
getAttributes.height = nxagentOption(RootHeight); getAttributes.height = nxagentOption(RootHeight);
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentShowSplash: Going to create new splash window.\n"); fprintf(stderr, "nxagentShowSplashWindow: Going to create new splash window.\n");
#endif #endif
nxagentSplashWindow = nxagentSplashWindow =
...@@ -146,7 +146,7 @@ int nxagentShowSplashWindow(Window parentWindow) ...@@ -146,7 +146,7 @@ int nxagentShowSplashWindow(Window parentWindow)
BlackPixel (nxagentDisplay, 0)); BlackPixel (nxagentDisplay, 0));
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentShowSplash: Created new splash window with id [%ld].\n", fprintf(stderr, "nxagentShowSplashWindow: Created new splash window with id [%ld].\n",
nxagentSplashWindow); nxagentSplashWindow);
#endif #endif
...@@ -162,7 +162,7 @@ int nxagentShowSplashWindow(Window parentWindow) ...@@ -162,7 +162,7 @@ int nxagentShowSplashWindow(Window parentWindow)
#ifdef NXAGENT_TIMESTAMP #ifdef NXAGENT_TIMESTAMP
{ {
extern unsigned long startTime; extern unsigned long startTime;
fprintf(stderr, "nxagentShowSplash: Splash ends [%d] milliseconds.\n", fprintf(stderr, "nxagentShowSplashWindow: Splash ends [%d] milliseconds.\n",
GetTimeInMillis() - startTime); GetTimeInMillis() - startTime);
} }
#endif #endif
...@@ -185,7 +185,7 @@ void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height) ...@@ -185,7 +185,7 @@ void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height)
} }
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "nxagenShowtLogo: Got called.\n"); fprintf(stderr, "nxagentPaintLogo: Got called.\n");
#endif #endif
#ifdef NXAGENT_LOGO_DEBUG #ifdef NXAGENT_LOGO_DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment