Bugs item #1764208, was opened at 2007-07-31 15:51
Message generated for change (Comment added) made by pabs3
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1764208&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Usability
Group: Latest release (0.61.06)
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Aurore "Rore" D. (rore_)
>Assigned to: Paul Wise (pabs3)
Summary: Unable to import images on amd64

Initial Comment:
'File > Import' does not seem to work on adm64 (Debian Sid).

>From what I understand, there's a type problem.

On synfig/src/modules/lyr_std/import.cpp, there's this:

// Get rid of any %20 crap
{
  unsigned int n;

  while((n=newfilename.find("%20"))!=String::npos)
    newfilename.replace(n,3," "); 
}

When there's no "%20" in the filename, n=-1, but as n is an _unsigned_ integer, 
the n!=String::npos test alway succeed. 
And then it cast some exception when trying to replace something from -1. 



----------------------------------------------------------------------

>Comment By: Paul Wise (pabs3)
Date: 2007-07-31 16:12

Message:
Logged In: YES 
user_id=35028
Originator: NO

Thanks for reporting :) Applied a fix in SVN r549. Yay IRC!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1764208&group_id=144022

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to