wok view cinepaint/stuff/cinepaint-0.22-gcc44.patch @ rev 7757
Moved plibc.h and platform.h to /usr/include/libmicrohttpd in libmicrohttpd _pkg path.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Dec 21 11:02:58 2010 +0000 (2010-12-21) |
parents | |
children |
line source
1 diff -Nru cinepaint-0.22-1.orig/plug-ins/collect/collect.cpp cinepaint-0.22-1/plug-ins/collect/collect.cpp
2 --- cinepaint-0.22-1.orig/plug-ins/collect/collect.cpp 2007-03-30 11:11:33.000000000 +0200
3 +++ cinepaint-0.22-1/plug-ins/collect/collect.cpp 2009-05-21 14:54:45.000000000 +0200
4 @@ -301,7 +301,7 @@
5 return -1;
7 // renaming the layer to the original filename
8 - gimp_layer_set_name (layers[0], strrchr(fc->value(1),'/')+1);
9 + gimp_layer_set_name (layers[0], strrchr((char *)fc->value(1),'/')+1);
10 GPrecisionType image_base_prec = gimp_drawable_precision (layers[0]);
11 int base_gray = gimp_drawable_gray (layers[0]);
13 @@ -341,7 +341,7 @@
14 #endif
15 gimp_image_add_layer (image_ID, layers[0], 0); DBG
16 // set layer name to filename
17 - gimp_layer_set_name(layers[0], strrchr(fc->value(i),'/')+1);
18 + gimp_layer_set_name(layers[0], strrchr((char *)fc->value(i),'/')+1);
20 // searching max dimensions
21 if (gimp_image_width(load_image_ID) > max_w)