w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 9c899974776b1735926b8f1068357d2a9c382a30
parent c1028b3186d19b26bb644aca75f4d360ba9fae2e
Author: ukai <ukai>
Date:   Wed, 26 Mar 2003 15:34:55 +0000

fix indent

Diffstat:
Mw3mimg/fb/fb_gdkpixbuf.c | 6+++---
Mw3mimg/x11/x11_w3mimg.c | 9+++++----
2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/w3mimg/fb/fb_gdkpixbuf.c b/w3mimg/fb/fb_gdkpixbuf.c @@ -12,7 +12,7 @@ static void draw(FB_IMAGE * img, int bg, int x, int y, int w, int h, static GdkPixbuf *resize_image(GdkPixbuf * pixbuf, int width, int height); static void -get_animation_size(GdkPixbufAnimation *animation, int *w, int *h) +get_animation_size(GdkPixbufAnimation * animation, int *w, int *h) { GList *frames; int iw, ih, n, i; @@ -28,9 +28,9 @@ get_animation_size(GdkPixbufAnimation *animation, int *w, int *h) frame = (GdkPixbufFrame *) g_list_nth_data(frames, i); pixbuf = gdk_pixbuf_frame_get_pixbuf(frame); iw = gdk_pixbuf_frame_get_x_offset(frame) - +gdk_pixbuf_get_width(pixbuf); + + gdk_pixbuf_get_width(pixbuf); ih = gdk_pixbuf_frame_get_y_offset(frame) - + gdk_pixbuf_get_height(pixbuf); + + gdk_pixbuf_get_height(pixbuf); if (iw > *w) *w = iw; if (ih > *h) diff --git a/w3mimg/x11/x11_w3mimg.c b/w3mimg/x11/x11_w3mimg.c @@ -43,7 +43,7 @@ struct x11_image { }; static void -get_animation_size(GdkPixbufAnimation *animation, int *w, int *h) +get_animation_size(GdkPixbufAnimation * animation, int *w, int *h) { GList *frames; int iw, ih, n, i; @@ -59,9 +59,9 @@ get_animation_size(GdkPixbufAnimation *animation, int *w, int *h) frame = (GdkPixbufFrame *) g_list_nth_data(frames, i); pixbuf = gdk_pixbuf_frame_get_pixbuf(frame); iw = gdk_pixbuf_frame_get_x_offset(frame) - +gdk_pixbuf_get_width(pixbuf); + + gdk_pixbuf_get_width(pixbuf); ih = gdk_pixbuf_frame_get_y_offset(frame) - + gdk_pixbuf_get_height(pixbuf); + + gdk_pixbuf_get_height(pixbuf); if (iw > *w) *w = iw; if (ih > *h) @@ -366,7 +366,8 @@ x11_load_image(w3mimg_op * self, W3MImage * img, char *fname, int w, int h) width = gdk_pixbuf_get_width(pixbuf); height = gdk_pixbuf_get_height(pixbuf); - if (delay >= 0) ximg->delay = delay; + if (delay >= 0) + ximg->delay = delay; if (i > 0) { switch (action) {