-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I found an error with emoticons in the licq home dir (e.g.
~/.licq/qt-gui/emoticons). If I start licq no Emoticons from my licq
home dir appear in the list in the skin browser.
The problem is when creating the string for the emoticons dir a slash is
missing between BASE_DIR and QTGUI_DIR.
Attached to this mail is a patch.
regards
rsLeo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEIDPquFcJvHsEu9gRAmRyAJ93IwlMRlc6H16KILAcxfo3IJOxXwCcD64S
CiN9QX+rRpMi3ne3HHYs3G8=
=sZcb
-----END PGP SIGNATURE-----
Index: src/licq.cpp
===================================================================
--- src/licq.cpp (revision 4380)
+++ src/licq.cpp (working copy)
@@ -222,7 +222,7 @@
bHelp = true;
break;
case 'b': // base directory
- snprintf(BASE_DIR, MAX_FILENAME_LEN, "%s", optarg);
+ snprintf(BASE_DIR, MAX_FILENAME_LEN, "%s/", optarg);
BASE_DIR[MAX_FILENAME_LEN - 1] = '\0';
bBaseDir = true;
break;
@@ -288,7 +288,7 @@
gLog.Error("%sLicq: $HOME not set, unable to determine config base
directory.\n", L_ERRORxSTR);
return false;
}
- snprintf(BASE_DIR, MAX_FILENAME_LEN, "%s/.licq", home);
+ snprintf(BASE_DIR, MAX_FILENAME_LEN, "%s/.licq/", home);
BASE_DIR[MAX_FILENAME_LEN - 1] = '\0';
}