summaryrefslogtreecommitdiff
path: root/graphics/oyranos/qcmsevents.cpp.patch
blob: 33a271b24bf9d70fde91fb491bdb6a1980f0c48a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- oyranos-0.4.0/examples/xcmsevents/qcmsevents.cpp  2012-05-02 21:58:50.309004915 +0200
+++ oyranos-0.4.0/examples/xcmsevents/qcmsevents.cpp.new      2012-05-02 21:58:32.533739653 +0200
@@ -118,8 +118,8 @@
   else if (XCME_MSG_DISPLAY_STATUS)
   {
     int i;
-    if(strstr(text, "atom: \""XCM_COLOR_DESKTOP"\":"))
-      sscanf( text, "atom: \""XCM_COLOR_DESKTOP"\": %d %d", &i, &pid );
+    if(strstr(text, "atom: \"" XCM_COLOR_DESKTOP "\":"))
+      sscanf( text, "atom: \"" XCM_COLOR_DESKTOP "\": %d %d", &i, &pid );
     if(pid == 0)
     {
       colour.setHsvF( 0.6, 0.4, 0.9 );