From: Elan Ruusamäe Date: Thu, 6 Dec 2007 02:51:01 +0000 (+0000) Subject: - really copy user.js (not from one to itself) X-Git-Tag: auto/ac/QtCurve-0_55_1-2~3 X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=9aaa55f3dc0d281b669ff36d969f06a4aead9026;hp=4f778ef93095527f69b56c49d7e8bb8ba9847743;p=packages%2FQtCurve.git - really copy user.js (not from one to itself) Changed files: QtCurve-Gtk2-userjs.patch -> 1.1 --- diff --git a/QtCurve-Gtk2-userjs.patch b/QtCurve-Gtk2-userjs.patch new file mode 100644 index 0000000..e20b275 --- /dev/null +++ b/QtCurve-Gtk2-userjs.patch @@ -0,0 +1,16 @@ +--- QtCurve-Gtk2-0.55.1/style/qt_settings.c~ 2007-10-24 21:50:40.000000000 +0300 ++++ QtCurve-Gtk2-0.55.1/style/qt_settings.c 2007-12-06 04:43:41.324215032 +0200 +@@ -1126,10 +1126,11 @@ + if(-1==lstat(sub, &statbuf)) + { + FILE *in=NULL; ++ char src[strlen(QTC_MOZILLA_DIR) + MAX_CSS_HOME + 10]; + +- sprintf(sub, QTC_MOZILLA_DIR"/%s-user.js", app); ++ sprintf(src, QTC_MOZILLA_DIR"/%s-user.js", app); + +- if((in=fopen(sub, "r"))) ++ if((in=fopen(src, "r"))) + { + FILE *out=fopen(sub, "w"); +