From 1f84068d307d99201d61e47ab49793babd86e795 Mon Sep 17 00:00:00 2001 From: Mike Pittman Date: Fri, 28 Mar 2008 04:15:31 +0000 Subject: Completing incomplete application of patch at https://bugs.launchpad.net/inkscape/+bug/187290/comments/30 (bzr r5216) --- src/registrytool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/registrytool.cpp') diff --git a/src/registrytool.cpp b/src/registrytool.cpp index 69a2faaf9..7f6ff8a9a 100644 --- a/src/registrytool.cpp +++ b/src/registrytool.cpp @@ -74,7 +74,7 @@ bool RegistryTool::setStringValue(const Glib::ustring &keyNameArg, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &key, NULL)) { - printf("RegistryTool: Could not create the registry key '%s'\n", keyName.c_str()); + fprintf(stderr, "RegistryTool: Could not create the registry key '%s'\n", keyName.c_str()); return false; } @@ -82,7 +82,7 @@ bool RegistryTool::setStringValue(const Glib::ustring &keyNameArg, if (RegSetValueEx(key, valueName.c_str(), 0, REG_SZ, (LPBYTE) value.c_str(), (DWORD) value.size())) { - printf("RegistryTool: Could not set the value '%s'\n", value.c_str()); + fprintf(stderr, "RegistryTool: Could not set the value '%s'\n", value.c_str()); RegCloseKey(key); return false; } @@ -101,7 +101,7 @@ bool RegistryTool::getExeInfo(Glib::ustring &fullPath, char buf[MAX_PATH+1]; if (!GetModuleFileName(NULL, buf, MAX_PATH)) { - printf("Could not fetch executable file name\n"); + fprintf(stderr, "Could not fetch executable file name\n"); return false; } else -- cgit v1.2.3