typofix.
This commit is contained in:
parent
a7f2765da4
commit
981e52d5a7
|
@ -7,8 +7,8 @@ VERSION = 0.4
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
||||||
GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
|
GTKINC=$(shell pkg-config --static --cflags gtk+-2.0 webkit-1.0)
|
||||||
GTKLIB=$(shell pkg-config --libs 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
|
# flags
|
||||||
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
||||||
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
||||||
LDFLAGS = -g ${LIBS}
|
LDFLAGS = -g ${LIBS} -static
|
||||||
|
|
||||||
# Solaris
|
# Solaris
|
||||||
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
|
|
4
surf.c
4
surf.c
|
@ -613,7 +613,7 @@ newwindow(Client *c, const Arg *arg) {
|
||||||
if(!plugin)
|
if(!plugin)
|
||||||
cmd[i++] = "-p";
|
cmd[i++] = "-p";
|
||||||
if(!loadimage)
|
if(!loadimage)
|
||||||
cmd[i++] = "-l";
|
cmd[i++] = "-i";
|
||||||
if(showxid)
|
if(showxid)
|
||||||
cmd[i++] = "-x";
|
cmd[i++] = "-x";
|
||||||
cmd[i++] = "--";
|
cmd[i++] = "--";
|
||||||
|
@ -707,7 +707,7 @@ setcookie(SoupCookie *c) {
|
||||||
SoupDate *e;
|
SoupDate *e;
|
||||||
SoupCookieJar *j = soup_cookie_jar_text_new(cookiefile, FALSE);
|
SoupCookieJar *j = soup_cookie_jar_text_new(cookiefile, FALSE);
|
||||||
c = soup_cookie_copy(c);
|
c = soup_cookie_copy(c);
|
||||||
if(c && c->expires == NULL) {
|
if(c->expires == NULL) {
|
||||||
e = soup_date_new_from_time_t(time(NULL) + sessiontime);
|
e = soup_date_new_from_time_t(time(NULL) + sessiontime);
|
||||||
soup_cookie_set_expires(c, e);
|
soup_cookie_set_expires(c, e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue