diff options
| author | Quentin Rameau <[email protected]> | 2015-11-22 02:22:38 +0100 |
|---|---|---|
| committer | Quentin Rameau <[email protected]> | 2015-11-22 02:22:38 +0100 |
| commit | 2fb122c01202e7b8f2b31f964daee19b86f4d433 (patch) | |
| tree | 41a31f3c12257a866cd118122113d0d8c41aa210 | |
| parent | Correct and simplify buttonreleased() gdk event (diff) | |
| download | surf-2fb122c01202e7b8f2b31f964daee19b86f4d433.tar.gz surf-2fb122c01202e7b8f2b31f964daee19b86f4d433.tar.bz2 surf-2fb122c01202e7b8f2b31f964daee19b86f4d433.zip | |
Continue making chars const
| -rw-r--r-- | surf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c index d8a2ef6..faf712f 100644 --- a/surf.c +++ b/surf.c @@ -394,9 +394,9 @@ loaduri(Client *c, const Arg *a) const char * geturi(Client *c) { - char *uri; + const char *uri; - if (!(uri = (char *)webkit_web_view_get_uri(c->view))) + if (!(uri = webkit_web_view_get_uri(c->view))) uri = "about:blank"; return uri; } |