[gimp] web-page: Untabify code
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] web-page: Untabify code
- Date: Thu, 31 Mar 2011 23:52:16 +0000 (UTC)
commit 0b6491f94ca9a7045f4889fee62ad3d9a8ff8efa
Author: Mukund Sivaraman <muks banu com>
Date: Fri Apr 1 05:21:26 2011 +0530
web-page: Untabify code
plug-ins/common/web-page.c | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/plug-ins/common/web-page.c b/plug-ins/common/web-page.c
index 8c5527c..025b28c 100644
--- a/plug-ins/common/web-page.c
+++ b/plug-ins/common/web-page.c
@@ -49,8 +49,8 @@ static WebpageVals webpagevals;
typedef struct
{
- char url[MAX_URL_LEN];
- gint32 width;
+ char url[MAX_URL_LEN];
+ gint32 width;
} WebpageSaveVals;
static GdkPixbuf *webpixbuf;
@@ -182,19 +182,19 @@ run (const gchar *name,
}
else
{
- save.width = webpagevals.width;
-
- if (strlen (webpagevals.url) < MAX_URL_LEN)
- {
- strncpy (save.url, webpagevals.url, MAX_URL_LEN);
- save.url[MAX_URL_LEN - 1] = 0;
- }
- else
- {
- memset (save.url, 0, MAX_URL_LEN);
- }
-
- gimp_set_data (PLUG_IN_PROC, &save, sizeof save);
+ save.width = webpagevals.width;
+
+ if (strlen (webpagevals.url) < MAX_URL_LEN)
+ {
+ strncpy (save.url, webpagevals.url, MAX_URL_LEN);
+ save.url[MAX_URL_LEN - 1] = 0;
+ }
+ else
+ {
+ memset (save.url, 0, MAX_URL_LEN);
+ }
+
+ gimp_set_data (PLUG_IN_PROC, &save, sizeof save);
if (run_mode == GIMP_RUN_INTERACTIVE)
gimp_display_new (image_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]