summaryrefslogtreecommitdiff
path: root/x11-fm/xfe/files/patch-src__main.cpp
blob: 351e4fe12be6dd3a3bf2a5d764cf1e9e8a6838b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/main.cpp.orig
+++ src/main.cpp
@@ -270,6 +270,7 @@
 	const char *vdrname = "Xfe";
 	int i;
 	FXbool loadicons;
+	FXString cmd;
 	FXString startfiledir1="";
 	FXString startdir2="";
 	FXbool iconic=false;
@@ -307,7 +308,7 @@
     //   - if dpkg exists then the system uses deb packages
     //   - else if rpm exists, then the system uses rpm packages
 	//   - else another (unsupported) package manager is used
-	FXString cmd, str;
+	FXString str;
 
 	cmd="dpkg --version";
 	str=getCommandOutput(cmd);