summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e0837b2..c5d2d76 100644
--- a/src/main.c
+++ b/src/main.c
@@ -155,7 +155,7 @@ gboolean vb_load_uri(const Arg *arg)
if (arg->s) {
path = g_strstrip(arg->s);
}
- if (!path || *path == '\0') {
+ if (!path || !*path) {
path = vb.config.home_page;
}