diff options
| author | Mike Pittman <thepittos@yahoo.com.au> | 2008-03-28 04:15:31 +0000 |
|---|---|---|
| committer | ozmikepittman <ozmikepittman@users.sourceforge.net> | 2008-03-28 04:15:31 +0000 |
| commit | 1f84068d307d99201d61e47ab49793babd86e795 (patch) | |
| tree | 16a33f06f1f9e44c85855657daa326720629566c /src/registrytool.cpp | |
| parent | fix compile (diff) | |
| download | inkscape-1f84068d307d99201d61e47ab49793babd86e795.tar.gz inkscape-1f84068d307d99201d61e47ab49793babd86e795.zip | |
Completing incomplete application of patch at https://bugs.launchpad.net/inkscape/+bug/187290/comments/30
(bzr r5216)
Diffstat (limited to 'src/registrytool.cpp')
| -rw-r--r-- | src/registrytool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
