]> git.pld-linux.org Git - packages/QtCurve.git/commitdiff
- really copy user.js (not from one to itself)
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 6 Dec 2007 02:51:01 +0000 (02:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    QtCurve-Gtk2-userjs.patch -> 1.1

QtCurve-Gtk2-userjs.patch [new file with mode: 0644]

diff --git a/QtCurve-Gtk2-userjs.patch b/QtCurve-Gtk2-userjs.patch
new file mode 100644 (file)
index 0000000..e20b275
--- /dev/null
@@ -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");
This page took 0.051502 seconds and 4 git commands to generate.