Donate Share

Allegro Sprite Editor

Tracker: Bugs

9 '.PNG' extension unavailable in Open and Save As dialogs - ID: 2511762
Last Update: Comment added ( dacap )

Bug:

The "Open" and "Save As" dialogs do not show the "png" extension in the
combo box. So it is not possible to open or save .png files as expected.

Cause:

ase_file_selector tokenizes the string containing the list of extensions
(filesel.cpp Line 206). But the resulting vector does not contain the
final "png" token because of a bug in jstring::split (jstring.h Lines
91-105).

Fix:

Insert the following code after the for loop in jstring::split (after
jistring.h line 104):

if (! tok.empty())
result.push_back(tok);

This way any non-empty terminating token will be added.

Cheers
Clay


Nobody/Anonymous ( nobody ) - 2009-01-15 22:52

9

Closed

Accepted

David Capello

None

None

Public


Comment ( 1 )




Date: 2009-01-24 00:36
Sender: dacapProject Admin

Fixed for the next release ASE 0.6.1. Thanks for the patch! :)


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-01-24 00:36 dacap
close_date - 2009-01-24 00:36 dacap
resolution_id None 2009-01-18 17:11 dacap
priority 5 2009-01-18 17:11 dacap
assigned_to nobody 2009-01-18 17:11 dacap