summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-23 00:06:35 +0300
committerinfirit <[email protected]>2014-11-23 12:42:17 +0100
commit32c66f997b730f8e4ff6f2b4830f259951ec1112 (patch)
tree01f125bd0d7d04f72df17b143077675845e11f11
parent3f847bccca5feab26b5e756ec064109ec6aa01fa (diff)
downloadengrampa-32c66f997b730f8e4ff6f2b4830f259951ec1112.tar.bz2
engrampa-32c66f997b730f8e4ff6f2b4830f259951ec1112.tar.xz
fix logic error
-rw-r--r--src/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c
index 2c5f8ba..1b906de 100644
--- a/src/server.c
+++ b/src/server.c
@@ -345,7 +345,7 @@ handle_method_call (GDBusConnection *connection,
window = fr_window_new ();
fr_window_use_progress_dialog (FR_WINDOW (window), use_progress_dialog);
- if ((destination != NULL) & (strcmp (destination, "") != 0))
+ if ((destination != NULL) && (strcmp (destination, "") != 0))
fr_window_set_default_dir (FR_WINDOW (window), destination, TRUE);
g_signal_connect (window, "progress", G_CALLBACK (window_progress_cb), connection);