projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8785b68
)
Bug fix #251: Crop simulation
author
Colin Clark
<colin.clark@cclark.uk>
Sat, 18 Aug 2018 10:00:35 +0000
(11:00 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Sat, 18 Aug 2018 10:00:35 +0000
(11:00 +0100)
https://github.com/BestImageViewer/geeqie/issues/251
If draw rectangle is not selected, return null.
src/remote.c
patch
|
blob
|
history
diff --git
a/src/remote.c
b/src/remote.c
index
f5c58e5
..
58d4ec3
100644
(file)
--- a/
src/remote.c
+++ b/
src/remote.c
@@
-697,6
+697,7
@@
static void gr_rectangle(const gchar *text, GIOChannel *channel, gpointer data)
LayoutWindow *lw = NULL;
gint x1, y1, x2, y2;
+ if (!options->draw_rectangle) return;
if (!layout_valid(&lw_id)) return;
pr = (PixbufRenderer*)lw_id->image->pr;