Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
oyranos
oyranos-example_compile_fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oyranos-example_compile_fix.patch of Package oyranos
diff --git a/examples/xcmsevents/qcmsevents.cpp b/examples/xcmsevents/qcmsevents.cpp index bfdab46..abd0e40 100644 --- a/examples/xcmsevents/qcmsevents.cpp +++ b/examples/xcmsevents/qcmsevents.cpp @@ -14,6 +14,8 @@ #include "oyranos_alpha.h" #include "oyranos_i18n.h" +#include <X11/Xcm/Xcm.h> + QcmseDialog * dialog = 0; QcmseDialog::QcmseDialog() @@ -118,8 +120,8 @@ void QcmseDialog::log( const char * text, int code ) 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 );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor