aboutsummaryrefslogtreecommitdiff
path: root/x11/wbar/files/patch-src_config_Functions.cc
blob: d564df6aa63fd991843dc09fb19b39fe0f208ec6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
../src/config/Functions.cc:14:34: error: invalid suffix on literal; C++11 requires a
      space between literal and identifier [-Wreserved-user-defined-literal]
#define ICON_DEFAULT PIXMAPDIR"/"PACKAGE_NAME".png"
                                 ^
                                  
../src/config/Functions.cc:307:38: error: invalid suffix on literal; C++11 requires a
      space between literal and identifier [-Wreserved-user-defined-literal]
            command = PACKAGE_NAME" "DEFAULT_ARGV;

--- src/config/Functions.cc.orig	2012-09-19 02:54:53 UTC
+++ src/config/Functions.cc
@@ -11,7 +11,7 @@
 #include "Run.h"
 #include "OptParser.h"
 
-#define ICON_DEFAULT PIXMAPDIR"/"PACKAGE_NAME".png"
+#define ICON_DEFAULT PIXMAPDIR "/" PACKAGE_NAME ".png"
 
 static const gchar *authors[] =
 {
@@ -304,7 +304,7 @@ void set_config_states(std::string command)
         
         if (command.empty())
         {
-            command = PACKAGE_NAME" "DEFAULT_ARGV;
+            command = PACKAGE_NAME " " DEFAULT_ARGV;
         }
 
         if (argc <= 1 || tmpoptparser.isSet( OptParser::CONFIG ))