summaryrefslogtreecommitdiffstats
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--surf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/surf.c b/surf.c
index 77e3d6f..4ead122 100644
--- a/surf.c
+++ b/surf.c
@@ -163,7 +163,7 @@ static char cookiepolicy_set(const WebKitCookieAcceptPolicy p);
static void seturiparameters(Client *c, const char *uri);
static void setparameter(Client *c, int refresh, ParamName p, const Arg *a);
static const char *getstyle(const char *uri);
-static void setstyle(Client *c, const char *stylefile);
+static void setstyle(Client *c, const char *file);
static void runscript(Client *c);
static void evalscript(Client *c, const char *jsstr, ...);
static void updatewinid(Client *c);
@@ -755,12 +755,12 @@ getstyle(const char *uri)
}
void
-setstyle(Client *c, const char *stylefile)
+setstyle(Client *c, const char *file)
{
gchar *style;
- if (!g_file_get_contents(stylefile, &style, NULL, NULL)) {
- fprintf(stderr, "Could not read style file: %s\n", stylefile);
+ if (!g_file_get_contents(file, &style, NULL, NULL)) {
+ fprintf(stderr, "Could not read style file: %s\n", file);
return;
}
f/commit/config.mk?id=9ec6fbda904fa577afe81eddecf8903ecff60eae&follow=1'>Applied Jacobs patch. Thanks!Gravatar Enno Boland (tox) 1-1/+1 2009-06-12fix downloading, tidyupGravatar Thomas Menari 1-7/+2 2009-06-10updating manpageGravatar Enno Boland (Gottox) 1-0/+6 2009-06-09adding -Werror to config.mkGravatar Enno Boland (Gottox) 1-1/+1 2009-06-09added apos p/y-patch, thanks :)Gravatar Enno Boland (Gottox) 1-0/+14 2009-06-09getting rid or most gpointers, sorting functions alphabetical, using gchar * ↵Gravatar Enno Boland (Gottox) 1-65/+55 where ever possible. 2009-06-08small fix.Gravatar Enno Boland (Gottox) 1-1/+1 2009-06-08fixing _SURF_URL XProperty.Gravatar Enno Boland (Gottox) 1-7/+11 2009-06-08allow all modifiers.Gravatar Enno Boland (Gottox) 1-1/+1 2009-06-08Fixing keybindings when numlock is enabled.Gravatar Enno Boland (Gottox) 1-1/+1 2009-06-08Get rid of these gotos.Gravatar Enno Boland (Gottox) 1-12/+12 2009-06-08adding zoom support.Gravatar Enno Boland (Gottox) 1-1/+12 2009-06-08some cleanups.Gravatar Enno Boland (Gottox) 1-2/+2 2009-06-08better download handling.Gravatar Enno Boland (Gottox) 2-63/+89 2009-06-08renamed download handlers.Gravatar Enno Boland (Gottox) 1-7/+7 2009-06-08merged, now has download bar, other misc fixesGravatar Thomas Menari 3-23/+57 2009-06-08adding surf-directory.Gravatar Enno Boland (Gottox) 1-1/+2 2009-06-08use tabs not spaces!Gravatar Enno Boland (Gottox) 1-8/+8 2009-06-08Backed out changeset ed121082f103Gravatar Enno Boland (Gottox) 1-11/+1 unable to use textfields now. Please implement it in a sane way.