Skip to content

Commit

Permalink
Deh Reader: Fix de::String argument format strings
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Aug 23, 2012
1 parent bbd0223 commit 31252ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doomsday/plugins/dehread/src/dehreader.cpp
Expand Up @@ -1641,8 +1641,8 @@ class DehReader
/// @todo Why the restriction?
if(findMusicLumpNameInMap(origName) < 0) return false;

Block origNamePrefUtf8 = String("D_%s").arg(origName).toUtf8();
Block newNamePrefUtf8 = String("D_%s").arg(newName ).toUtf8();
Block origNamePrefUtf8 = String("D_%1").arg(origName).toUtf8();
Block newNamePrefUtf8 = String("D_%1").arg(newName ).toUtf8();

// Update ALL songs using this lump name.
int numPatched = 0;
Expand All @@ -1666,8 +1666,8 @@ class DehReader
/// @todo Why the restriction?
if(findSoundLumpNameInMap(origName) < 0) return false;

Block origNamePrefUtf8 = String("DS%s").arg(origName).toUtf8();
Block newNamePrefUtf8 = String("DS%s").arg(newName ).toUtf8();
Block origNamePrefUtf8 = String("DS%1").arg(origName).toUtf8();
Block newNamePrefUtf8 = String("DS%1").arg(newName ).toUtf8();

// Update ALL sounds using this lump name.
int numPatched = 0;
Expand Down

0 comments on commit 31252ee

Please sign in to comment.