c->uri is unused
Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
parent
83df29393f
commit
7e9a37f25f
1 changed files with 2 additions and 2 deletions
4
surf.c
4
surf.c
|
@ -47,7 +47,7 @@ typedef struct Client {
|
||||||
WebKitWebView *view;
|
WebKitWebView *view;
|
||||||
WebKitWebInspector *inspector;
|
WebKitWebInspector *inspector;
|
||||||
char *title, *linkhover;
|
char *title, *linkhover;
|
||||||
const char *uri, *needle;
|
const char *needle;
|
||||||
gint progress;
|
gint progress;
|
||||||
struct Client *next;
|
struct Client *next;
|
||||||
gboolean zoomed, fullscreen, isinspecting, sslfailed;
|
gboolean zoomed, fullscreen, isinspecting, sslfailed;
|
||||||
|
@ -636,7 +636,7 @@ loaduri(Client *c, const Arg *arg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* prevents endless loop */
|
/* prevents endless loop */
|
||||||
if(c->uri && strcmp(u, c->uri) == 0) {
|
if(strcmp(u, geturi(c)) == 0) {
|
||||||
reload(c, &a);
|
reload(c, &a);
|
||||||
} else {
|
} else {
|
||||||
webkit_web_view_load_uri(c->view, u);
|
webkit_web_view_load_uri(c->view, u);
|
||||||
|
|
Loading…
Reference in a new issue