wok-next annotate cinepaint/stuff/cinepaint-0.22-gcc44.patch @ rev 6600
Up unixODBC to 2.3.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 16:01:29 2010 +0000 (2010-10-09) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@6560 | 1 diff -Nru cinepaint-0.22-1.orig/plug-ins/collect/collect.cpp cinepaint-0.22-1/plug-ins/collect/collect.cpp |
slaxemulator@6560 | 2 --- cinepaint-0.22-1.orig/plug-ins/collect/collect.cpp 2007-03-30 11:11:33.000000000 +0200 |
slaxemulator@6560 | 3 +++ cinepaint-0.22-1/plug-ins/collect/collect.cpp 2009-05-21 14:54:45.000000000 +0200 |
slaxemulator@6560 | 4 @@ -301,7 +301,7 @@ |
slaxemulator@6560 | 5 return -1; |
slaxemulator@6560 | 6 |
slaxemulator@6560 | 7 // renaming the layer to the original filename |
slaxemulator@6560 | 8 - gimp_layer_set_name (layers[0], strrchr(fc->value(1),'/')+1); |
slaxemulator@6560 | 9 + gimp_layer_set_name (layers[0], strrchr((char *)fc->value(1),'/')+1); |
slaxemulator@6560 | 10 GPrecisionType image_base_prec = gimp_drawable_precision (layers[0]); |
slaxemulator@6560 | 11 int base_gray = gimp_drawable_gray (layers[0]); |
slaxemulator@6560 | 12 |
slaxemulator@6560 | 13 @@ -341,7 +341,7 @@ |
slaxemulator@6560 | 14 #endif |
slaxemulator@6560 | 15 gimp_image_add_layer (image_ID, layers[0], 0); DBG |
slaxemulator@6560 | 16 // set layer name to filename |
slaxemulator@6560 | 17 - gimp_layer_set_name(layers[0], strrchr(fc->value(i),'/')+1); |
slaxemulator@6560 | 18 + gimp_layer_set_name(layers[0], strrchr((char *)fc->value(i),'/')+1); |
slaxemulator@6560 | 19 |
slaxemulator@6560 | 20 // searching max dimensions |
slaxemulator@6560 | 21 if (gimp_image_width(load_image_ID) > max_w) |
slaxemulator@6560 | 22 |