summaryrefslogtreecommitdiffstats
path: root/source/x11-helper.c
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-09-27 12:57:54 +0200
committerQC <qball@gmpclient.org>2015-09-27 12:57:54 +0200
commit838c838d31b327dfbd469df77ae4638ebb55236a (patch)
treea16055719cb004b391cbeda27da703209a35c95f /source/x11-helper.c
parent6061e046def31b96e727c44d90cd370489f22c1d (diff)
Try to fix #234
Diffstat (limited to 'source/x11-helper.c')
-rw-r--r--source/x11-helper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/x11-helper.c b/source/x11-helper.c
index a7a1bb37..b27462fe 100644
--- a/source/x11-helper.c
+++ b/source/x11-helper.c
@@ -489,10 +489,9 @@ void create_visual_and_colormap ( Display *display )
}
}
-
-cairo_format_t get_format(void)
+cairo_format_t get_format ( void )
{
- if(truecolor){
+ if ( truecolor ) {
return CAIRO_FORMAT_ARGB32;
}
return CAIRO_FORMAT_RGB24;