diff options
Diffstat (limited to 'find_java/src/source/find_java_exe.cpp')
-rw-r--r-- | find_java/src/source/find_java_exe.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/find_java/src/source/find_java_exe.cpp b/find_java/src/source/find_java_exe.cpp index 50ca0247d..a8be377ef 100644 --- a/find_java/src/source/find_java_exe.cpp +++ b/find_java/src/source/find_java_exe.cpp @@ -63,9 +63,9 @@ static int showHelpMessage() { static void printError(const char *message) {
- CString error; - error.setLastWin32Error(message); - printf(error.cstr()); + CString error;
+ error.setLastWin32Error(message);
+ printf(error.cstr());
}
static void testFindJava(bool isJdk, int minVersion) {
@@ -182,9 +182,9 @@ int main(int argc, char* argv[]) { }
if (version == 0) {
- CString s; - s.setf("Failed to find Java %d.%d (or newer) on your system. ", JAVA_MAJOR(minVersion), - JAVA_MINOR(minVersion)); + CString s;
+ s.setf("Failed to find Java %d.%d (or newer) on your system. ", JAVA_MAJOR(minVersion),
+ JAVA_MINOR(minVersion));
if (gIsDebug) {
fprintf(stderr, s.cstr());
@@ -200,8 +200,8 @@ int main(int argc, char* argv[]) { if (doShortPath) {
if (!javaPath.toShortPath(&javaPath)) {
- CString s; - s.setf("Failed to convert path (%s) to a short DOS path. ", javaPath.cstr()); + CString s;
+ s.setf("Failed to convert path (%s) to a short DOS path. ", javaPath.cstr());
fprintf(stderr, s.cstr());
if (shouldPrintError) {
|