[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Mon, 5 Jul 2010 21:06:34 +0000 (UTC)

changeset: 579:73bc52f68408
tag: tip
user: Rob Pilling <robpilling_AT_gmail.com>
date: Mon Jul 05 22:04:58 2010 +0100
files: surf.suckless.org/patches/surf-0.3-homepage.diff
description:
Simplified homepage patch + minor bug fix

loaduri() would be called twice if an argument was passed via the argv


diff -r beaa6174f961 -r 73bc52f68408 surf.suckless.org/patches/surf-0.3-homepage.diff
--- a/surf.suckless.org/patches/surf-0.3-homepage.diff Mon Jul 05 15:24:12 2010 -0500
+++ b/surf.suckless.org/patches/surf-0.3-homepage.diff Mon Jul 05 22:04:58 2010 +0100
_AT_@ -1,15 +1,13 @@
 diff -r dbb565b8d61c surf.c
 --- a/surf.c Fri Jun 25 09:42:58 2010 +0200
-+++ b/surf.c Mon Jul 05 14:55:45 2010 -0500
-_AT_@ -839,6 +839,11 @@
- newclient();
- if(arg.v)
- loaduri(clients, &arg);
-+ #ifdef HOMEPAGE
-+ else
-+ arg.v = HOMEPAGE;
-+ loaduri(clients, &arg);
-+ #endif
- gtk_main();
- cleanup();
- return EXIT_SUCCESS;
++++ b/surf.c Mon Jul 05 21:56:52 2010 +0100
+_AT_@ -833,6 +833,9 @@
+ usage();
+ }
+ }
++#ifdef HOMEPAGE
++ arg.v = HOMEPAGE;
++#endif
+ if(i < argc)
+ arg.v = argv[i];
+ setup();
Received on Mon Jul 05 2010 - 23:06:34 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:21 CEST