Mercurial > audlegacy-plugins
changeset 1933:b6d547a4ca50
Automated merge with ssh://hg.atheme.org//hg/audacious-plugins
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 01 Oct 2007 16:26:52 +0300 |
parents | 5638651b7b3d (diff) d8f6fe2ff7da (current diff) |
children | ac07c60dba5d 7ee1bc4d5f5b |
files | src/modplug/modplugbmp.cxx |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/modplug/modplugbmp.cxx Mon Oct 01 08:11:33 2007 -0500 +++ b/src/modplug/modplugbmp.cxx Mon Oct 01 16:26:52 2007 +0300 @@ -506,7 +506,7 @@ { CSoundFile* lSoundFile; Archive* lArchive; - gchar* tmps; + const gchar* tmps; //open and mmap the file lArchive = OpenArchive(aFilename); @@ -553,9 +553,9 @@ * an arbitrary module file uses .. typically it is some DOS CP-variant, * except for true Amiga modules. */ - tmps = str_to_utf8(lSoundFile->GetTitle()); - tuple_associate_string(ti, FIELD_TITLE, NULL, lSoundFile->GetTitle()); - g_free(tmps); + gchar *tmps2 = str_to_utf8(lSoundFile->GetTitle()); + tuple_associate_string(ti, FIELD_TITLE, NULL, tmps2); + g_free(tmps2); //unload the file lSoundFile->Destroy();