diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-12 16:14:27 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-12 16:14:27 +0100 |
commit | 4edd5614c4231893a4e2976f28106c4a5a31a830 (patch) | |
tree | 1fa49448f1ef371355c6520f33844d8e0c7311d1 /src | |
parent | 51bd043fce410d04fcfa4a0ddc3c138aa803e7d8 (diff) |
Fix some minor indenting issues
Diffstat (limited to 'src')
-rw-r--r-- | src/collage.c | 10 | ||||
-rw-r--r-- | src/keyevents.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/collage.c b/src/collage.c index 3377e84..fee6ed9 100644 --- a/src/collage.c +++ b/src/collage.c @@ -113,12 +113,12 @@ init_collage_mode(void) } /* Create the title string */ - + if (!opt.title) - s = estrdup(PACKAGE " [collage mode]"); + s = estrdup(PACKAGE " [collage mode]"); else - s = estrdup(feh_printf(opt.title, NULL)); - + s = estrdup(feh_printf(opt.title, NULL)); + if (opt.display) { winwid = @@ -217,7 +217,7 @@ init_collage_mode(void) char output_buf[1024]; if (opt.output_dir) snprintf(output_buf,1024,"%s/%s", opt.output_dir, opt.output_file); - else + else strncpy(output_buf,opt.output_file, 1024); gib_imlib_save_image(im_main, output_buf); if (opt.verbose) diff --git a/src/keyevents.c b/src/keyevents.c index af7e173..577860f 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -346,7 +346,7 @@ feh_event_handle_keypress(XEvent * ev) case 'C': if (opt.caption_path) winwid->caption_entry = 1; - winwidget_render_image(winwid, 0, 0); + winwidget_render_image(winwid, 0, 0); break; case 'r': case 'R': @@ -423,7 +423,7 @@ feh_event_handle_keypress(XEvent * ev) xinerama_screens[curr_screen].y_org); } #endif /* HAVE_LIBXINERAMA */ - case '=': + case '=': case '+': if (opt.reload < SLIDESHOW_RELOAD_MAX) opt.reload++; |