[Scummvm-git-logs] scummvm master -> d527a16e2fdb2dcd119ce93d5482ae85f4259e57

eriktorbjorn eriktorbjorn at telia.com
Mon Sep 5 18:09:22 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d527a16e2f GUI: Fix indentation to silence GCC 6 warning


Commit: d527a16e2fdb2dcd119ce93d5482ae85f4259e57
    https://github.com/scummvm/scummvm/commit/d527a16e2fdb2dcd119ce93d5482ae85f4259e57
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2016-09-05T18:08:51+02:00

Commit Message:
GUI: Fix indentation to silence GCC 6 warning

Changed paths:
    gui/downloaddialog.cpp



diff --git a/gui/downloaddialog.cpp b/gui/downloaddialog.cpp
index f33f03a..bcbe956 100644
--- a/gui/downloaddialog.cpp
+++ b/gui/downloaddialog.cpp
@@ -170,10 +170,10 @@ bool DownloadDialog::selectDirectories() {
 			else if (localPath[i] == '\\')
 				++backslashes;
 
-			if (backslashes > 0)
-				localPath += '\\' + remoteDirectory.name();
-			else
-				localPath += '/' + remoteDirectory.name();
+		if (backslashes > 0)
+			localPath += '\\' + remoteDirectory.name();
+		else
+			localPath += '/' + remoteDirectory.name();
 	} else {
 		localPath += remoteDirectory.name();
 	}





More information about the Scummvm-git-logs mailing list