View | Details | Raw Unified | Return to bug 202969 | Differences between
and this patch

Collapse All | Expand All

(-)patch-src__main.cpp (-13 / +5 lines)
Lines 1-19 Link Here
1
--- src/main.cpp.orig
1
--- src/main.cpp.orig	2015-09-07 15:20:49 UTC
2
+++ src/main.cpp
2
+++ src/main.cpp
3
@@ -270,6 +270,7 @@
3
@@ -314,6 +314,8 @@ int main(int argc,char *argv[])
4
 	const char *vdrname = "Xfe";
5
 	int i;
6
 	FXbool loadicons;
7
+	FXString cmd;
8
 	FXString startfiledir1="";
9
 	FXString startdir2="";
10
 	FXbool iconic=false;
11
@@ -307,7 +308,7 @@
12
     //   - if dpkg exists then the system uses deb packages
4
     //   - if dpkg exists then the system uses deb packages
13
     //   - else if rpm exists, then the system uses rpm packages
5
     //   - else if rpm exists, then the system uses rpm packages
14
 	//   - else another (unsupported) package manager is used
6
 	//   - else another (unsupported) package manager is used
15
-	FXString cmd, str;
7
+	
16
+	FXString str;
8
+	FXString str;
17
 
9
 
18
 	cmd="dpkg --version";
10
 	FXString cmd="dpkg --version";
19
 	str=getCommandOutput(cmd);
11
 	FXString str=getCommandOutput(cmd);

Return to bug 202969