viking

webkit based web browser for Enlightenment
Log | Files | Refs | LICENSE

commit 5aa03291e04cf822f5a05c4f3942d706e6832094
parent 2917c08e260de56b7292f5e132dadffc80821e7e
Author: Kyle Milz <kmilz@ucalgary.ca>
Date:   Sat, 22 Sep 2012 15:52:33 -0600

commands: indentation.

Diffstat:
Mcommands.c | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/commands.c b/commands.c @@ -1011,14 +1011,14 @@ zoom(const Arg *arg, void *data) { App_Data *ad = data; - // webkit_web_view_set_full_content_zoom(webview, (arg->i & ZoomFullContent) > 0); - // webkit_web_view_set_zoom_level(ad->current_tab->web, (arg->i & ZoomOut) ? - elm_web_zoom_set(ad->current_web, (arg->i & ZoomOut) ? - // webkit_web_view_get_zoom_level(webview) + - elm_web_zoom_get(ad->current_web) + - (((float)(ad->count ? ad->count : 1)) * (arg->i & (1 << 1) ? 1.0 : -1.0) * ad->zoomstep) : - (ad->count ? (float)ad->count / 100.0 : 1.0)); - return TRUE; + // webkit_web_view_set_full_content_zoom(webview, (arg->i & ZoomFullContent) > 0); + // webkit_web_view_set_zoom_level(ad->current_tab->web, (arg->i & ZoomOut) ? + elm_web_zoom_set(ad->current_web, (arg->i & ZoomOut) ? + // webkit_web_view_get_zoom_level(webview) + + elm_web_zoom_get(ad->current_web) + + (((float)(ad->count ? ad->count : 1)) * (arg->i & (1 << 1) ? 1.0 : -1.0) * ad->zoomstep) : + (ad->count ? (float)ad->count / 100.0 : 1.0)); + return TRUE; } /*