]> git.pld-linux.org Git - packages/QtCurve.git/blob - QtCurve-Gtk2-userjs.patch
- outdated
[packages/QtCurve.git] / QtCurve-Gtk2-userjs.patch
1 --- QtCurve-Gtk2-0.55.1/style/qt_settings.c~    2007-10-24 21:50:40.000000000 +0300
2 +++ QtCurve-Gtk2-0.55.1/style/qt_settings.c     2007-12-06 04:43:41.324215032 +0200
3 @@ -1126,10 +1126,11 @@
4                       if(-1==lstat(sub, &statbuf))
5                       {
6                           FILE *in=NULL;
7 +                         char src[strlen(QTC_MOZILLA_DIR) + MAX_CSS_HOME + 10];
8  
9 -                         sprintf(sub, QTC_MOZILLA_DIR"/%s-user.js", app);
10 +                         sprintf(src, QTC_MOZILLA_DIR"/%s-user.js", app);
11  
12 -                         if((in=fopen(sub, "r")))
13 +                         if((in=fopen(src, "r")))
14                           {
15                               FILE *out=fopen(sub, "w");
16  
This page took 0.030131 seconds and 3 git commands to generate.