summaryrefslogtreecommitdiff
path: root/security/fwbuilder/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'security/fwbuilder/files/patch-ab')
-rw-r--r--security/fwbuilder/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/fwbuilder/files/patch-ab b/security/fwbuilder/files/patch-ab
new file mode 100644
index 000000000000..ad8c73d9bcdb
--- /dev/null
+++ b/security/fwbuilder/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/gui/utils.cpp.old Sun Oct 17 00:13:41 2004
++++ src/gui/utils.cpp Sun Oct 17 00:14:26 2004
+@@ -218,7 +218,7 @@
+ int sn1 = file.findRev('/',-1);
+ int sn2 = file.findRev('\\',-1);
+ int sn = (sn1>=0)?sn1:sn2;
+- QString dir = (sn<0) ? "./" : file.left( sn );
++ QString dir = (sn<0) ? QString("./") : file.left( sn );
+
+ #ifdef _WIN32
+ /* on windows, if directory is in the root of the drive (like "c:"),