projects
/
gspca-barcode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a167442
)
grab image with g and raw with G
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 25 Aug 2010 19:32:29 +0000
(21:32 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 25 Aug 2010 19:32:29 +0000
(21:32 +0200)
svv.c
patch
|
blob
|
history
diff --git
a/svv.c
b/svv.c
index
e7ea5f8
..
db0ad1c
100644
(file)
--- a/
svv.c
+++ b/
svv.c
@@
-90,9
+90,11
@@
static void key_event(GtkWidget *widget, GdkEvent *event, gpointer data)
unsigned int k;
k = event->key.keyval;
-
//
printf("%08x %s\n", k, event->key.string);
+printf("%08x %s\n", k, event->key.string);
if (k < 0xff) {
if (k == 'g') /* grab a raw image */
+ grab = 1;
+ else if (k == 'G') /* grab a raw image */
raw = grab = 1;
else
gtk_main_quit();