aboutsummaryrefslogtreecommitdiff
path: root/graphics/oyranos/qcmsevents.cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/oyranos/qcmsevents.cpp.patch')
-rw-r--r--graphics/oyranos/qcmsevents.cpp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/oyranos/qcmsevents.cpp.patch b/graphics/oyranos/qcmsevents.cpp.patch
new file mode 100644
index 0000000000000..33a271b24bf9d
--- /dev/null
+++ b/graphics/oyranos/qcmsevents.cpp.patch
@@ -0,0 +1,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 );
+