diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-04-30 19:26:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-04-30 19:26:14 +0200 |
commit | 8b5e364dda15d2efbca18705c305dac6e177d4b1 (patch) | |
tree | 8eedcc6fae438fa3dbfb44f8fbbf6e4c84ead096 /src | |
parent | 65b5d9c1abaea7e8bfbc5d70d78a56af4be75c1a (diff) |
Convert some more weprintf statements to im_weprintf
Diffstat (limited to 'src')
-rw-r--r-- | src/imlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imlib.c b/src/imlib.c index f9a764d..dfbb63a 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -795,7 +795,7 @@ void feh_edit_inplace_orient(winwidget w, int orientation) gib_imlib_free_image(old); feh_reload_image(w, 1, 1); } else { - weprintf("failed to load image from disk to edit it in place"); + im_weprintf(w, "failed to load image from disk to edit it in place"); } return; @@ -912,14 +912,14 @@ void feh_edit_inplace_lossless_rotate(winwidget w, int orientation) snprintf(file_str, len, "%s", filename); if ((pid = fork()) < 0) { - weprintf("lossless rotate: fork failed:"); + iw_weprintf(w, "lossless rotate: fork failed:"); return; } else if (pid == 0) { execlp("jpegtran", "jpegtran", "-copy", "all", "-rotate", rotate_str, "-outfile", file_str, file_str, NULL); - weprintf("lossless rotate: Is 'jpegtran' installed? Failed to exec:"); + im_weprintf(w, "lossless rotate: Is 'jpegtran' installed? Failed to exec:"); return; } else { waitpid(pid, &status, 0); |