diff options
author | B. Watson <urchlay@slackware.uk> | 2024-01-10 13:45:44 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-01-10 13:45:44 -0500 |
commit | 4eaf25bc5394fb1f9f23403130e48c016f3a89fa (patch) | |
tree | 34c55aeffce04d6c90ca828c72617dcfcfc8c9c8 | |
parent | 088c769de46c4c1540c96c8b48bf17e3b093e0f6 (diff) | |
download | hcalc-4eaf25bc5394fb1f9f23403130e48c016f3a89fa.tar.gz |
Line up code.
-rw-r--r-- | images.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -28,7 +28,7 @@ #include "xpm/chars.500.xpm" #undef xpm -static char **faces[3] = { face0_data, face1_data, face2_data }; +static char **faces[3] = { face0_data, face1_data, face2_data }; static char **charss[3] = { chars0_data, chars1_data, chars2_data }; static int c_factors[3] = { 6, 12, 24 }; @@ -39,7 +39,7 @@ char charmap[] = " 0123456789ABCDEF-x,.ro+"; int char_to_x[256]; void free_pixmaps(void) { - if(face) XFreePixmap(display, face); + if(face) XFreePixmap(display, face); if(chars) XFreePixmap(display, chars); } @@ -48,10 +48,8 @@ void load_pixmaps(void) { XpmAttributes attr; attr.valuemask = 0; - XpmCreatePixmapFromData(display, window, faces[winsize], &face, 0, - &attr); - XpmCreatePixmapFromData(display, window, charss[winsize], &chars, 0, - &attr); + XpmCreatePixmapFromData(display, window, faces[winsize], &face, 0, &attr); + XpmCreatePixmapFromData(display, window, charss[winsize], &chars, 0, &attr); for(i = 0; i < 256; i++) { char_to_x[i] = 0; |