summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 688d641..a15ee3b 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -1243,7 +1243,7 @@ void FileDef::acquireFileVersion()
if (!vercmd.isEmpty())
{
msg("Version of %s : ",filepath.data());
- FILE *f=popen("\""+vercmd+"\" \""+filepath+"\"","r");
+ FILE *f=popen(vercmd+" \""+filepath+"\"","r");
if (!f)
{
err("Error: could not execute %s\n",vercmd.data());