diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-07-05 14:20:52 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-07-16 13:55:26 +0100 |
commit | df7636dddb4981e14ee7d128c43bb08bdf6a8727 (patch) | |
tree | 8b4c2e7720ab96ab0f0252daef90714336745b32 /hw/xwin/winprocarg.c | |
parent | 9cdd3ed07425b222e8197b9a2f57ec1525c6fd54 (diff) |
hw/xwin: Correct function name in log message
Correct function name in log message winInitializeDefaultScreens -> winInitializeScreenDefaults
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin/winprocarg.c')
-rw-r--r-- | hw/xwin/winprocarg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/xwin/winprocarg.c b/hw/xwin/winprocarg.c index 72fbf1467..a5b3c07bf 100644 --- a/hw/xwin/winprocarg.c +++ b/hw/xwin/winprocarg.c @@ -101,14 +101,15 @@ winInitializeScreenDefaults(void) int dpiY = GetDeviceCaps(hdc, LOGPIXELSY); winErrorFVerb(2, - "winInitializeDefaultScreens - native DPI x %d y %d\n", + "winInitializeScreenDefaults - native DPI x %d y %d\n", dpiX, dpiY); + monitorResolution = dpiY; ReleaseDC(NULL, hdc); } else { winErrorFVerb(1, - "winInitializeDefaultScreens - Failed to retrieve native DPI, falling back to default of %d DPI\n", + "winInitializeScreenDefaults - Failed to retrieve native DPI, falling back to default of %d DPI\n", WIN_DEFAULT_DPI); monitorResolution = WIN_DEFAULT_DPI; } |