diff options
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-canvas.c | 2 | ||||
-rw-r--r-- | eel/eel-string.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index 044beeb0d..c8a047099 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -3493,7 +3493,7 @@ eel_canvas_set_scroll_region (EelCanvas *canvas, gtk_adjustment_get_value (hadjustment) + canvas->zoom_xofs, gtk_adjustment_get_value (vadjustment) + canvas->zoom_yofs, /*canvas->zoom_xofs, - * canvas->zoom_yofs,*/ + * canvas->zoom_yofs,*/ &wxofs, &wyofs); canvas->scroll_x1 = x1; diff --git a/eel/eel-string.c b/eel/eel-string.c index 9fe79ab98..85c0841a4 100644 --- a/eel/eel-string.c +++ b/eel/eel-string.c @@ -489,6 +489,7 @@ get_arg_type_from_format (EelPrintfHandler *custom_handlers, } return ARG_TYPE_INT; } + break; case 'e': case 'E': @@ -505,16 +506,21 @@ get_arg_type_from_format (EelPrintfHandler *custom_handlers, } return ARG_TYPE_DOUBLE; } + break; case 'c': { return ARG_TYPE_INT; } + break; case 's': case 'p': case 'n': + { return ARG_TYPE_POINTER; + } + break; } return ARG_TYPE_INVALID; } |