Continue making chars const
This commit is contained in:
parent
6e68af115d
commit
2fb122c012
1 changed files with 2 additions and 2 deletions
4
surf.c
4
surf.c
|
@ -394,9 +394,9 @@ loaduri(Client *c, const Arg *a)
|
||||||
const char *
|
const char *
|
||||||
geturi(Client *c)
|
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";
|
uri = "about:blank";
|
||||||
return uri;
|
return uri;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue