Continue making chars const

This commit is contained in:
Quentin Rameau 2015-11-22 02:22:38 +01:00
parent 6e68af115d
commit 2fb122c012

4
surf.c
View file

@ -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;
} }