pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7f2765
)
typofix.
author
Enno Boland (tox)
<tox@s01.de>
Fri, 26 Mar 2010 20:44:48 +0000
(21:44 +0100)
committer
Enno Boland (tox)
<tox@s01.de>
Fri, 26 Mar 2010 20:44:48 +0000
(21:44 +0100)
config.mk
patch
|
blob
|
history
surf.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
a5f0b6d
..
ff7f604
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-7,8
+7,8
@@
VERSION = 0.4
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
-GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
-GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
+GTKINC=$(shell pkg-config --
static --
cflags gtk+-2.0 webkit-1.0)
+GTKLIB=$(shell pkg-config --
static --
libs gtk+-2.0 webkit-1.0)
# includes and libs
# includes and libs
@@
-18,7
+18,7
@@
LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -g ${LIBS}
+LDFLAGS = -g ${LIBS}
-static
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff --git
a/surf.c
b/surf.c
index
0ed831c
..
cac31d6
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-613,7
+613,7
@@
newwindow(Client *c, const Arg *arg) {
if(!plugin)
cmd[i++] = "-p";
if(!loadimage)
if(!plugin)
cmd[i++] = "-p";
if(!loadimage)
- cmd[i++] = "-
l
";
+ cmd[i++] = "-
i
";
if(showxid)
cmd[i++] = "-x";
cmd[i++] = "--";
if(showxid)
cmd[i++] = "-x";
cmd[i++] = "--";
@@
-707,7
+707,7
@@
setcookie(SoupCookie *c) {
SoupDate *e;
SoupCookieJar *j = soup_cookie_jar_text_new(cookiefile, FALSE);
c = soup_cookie_copy(c);
SoupDate *e;
SoupCookieJar *j = soup_cookie_jar_text_new(cookiefile, FALSE);
c = soup_cookie_copy(c);
- if(c
&& c
->expires == NULL) {
+ if(c->expires == NULL) {
e = soup_date_new_from_time_t(time(NULL) + sessiontime);
soup_cookie_set_expires(c, e);
}
e = soup_date_new_from_time_t(time(NULL) + sessiontime);
soup_cookie_set_expires(c, e);
}