reading hist always stopped after the first line
This commit is contained in:
parent
f9adf20874
commit
faba74f016
@ -58,6 +58,7 @@
|
|||||||
(thanks Christoph)
|
(thanks Christoph)
|
||||||
- im_generate() checks that im_demand_hint() has been called for this image
|
- im_generate() checks that im_demand_hint() has been called for this image
|
||||||
- im_jpeg2vips.c, set scale_num on shrink (thanks Guido)
|
- im_jpeg2vips.c, set scale_num on shrink (thanks Guido)
|
||||||
|
- heh argh reading history always stopped after the first line (thanks Haida)
|
||||||
|
|
||||||
25/3/09 started 7.18.0
|
25/3/09 started 7.18.0
|
||||||
- revised version numbers
|
- revised version numbers
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
* - block mmaps of nodata images
|
* - block mmaps of nodata images
|
||||||
* 12/5/09
|
* 12/5/09
|
||||||
* - fix signed/unsigned warnings
|
* - fix signed/unsigned warnings
|
||||||
|
* 12/10/09
|
||||||
|
* - heh argh reading history always stopped after the first line
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -689,8 +691,10 @@ set_history( IMAGE *im, char *history )
|
|||||||
history_list = NULL;
|
history_list = NULL;
|
||||||
|
|
||||||
for( p = history; *p; p = q ) {
|
for( p = history; *p; p = q ) {
|
||||||
if( (q = strchr( p, '\n' )) )
|
if( (q = strchr( p, '\n' )) ) {
|
||||||
*q = '\0';
|
*q = '\0';
|
||||||
|
q += 1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
q = p + strlen( p );
|
q = p + strlen( p );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user