Skip to content

Commit

Permalink
Fixed converter tool bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vthibault committed Dec 29, 2015
1 parent 8b2e9f5 commit 4b4f470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DB/DBManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,8 @@ define(function(require)
var item = ItemTable[itemid] || unknownItem;

if (!item._decoded) {
item.identifiedDescriptionName = item.identifiedDescriptionName ? TextEncoding.decodeString(item.identifiedDescriptionName.join('\n')) : '';
item.unidentifiedDescriptionName = item.unidentifiedDescriptionName ? TextEncoding.decodeString(item.unidentifiedDescriptionName.join('\n')) : '';
item.identifiedDescriptionName = (item.identifiedDescriptionName && item.identifiedDescriptionName instanceof Array) ? TextEncoding.decodeString(item.identifiedDescriptionName.join('\n')) : '';
item.unidentifiedDescriptionName = (item.unidentifiedDescriptionName && item.unidentifiedDescriptionName instanceof Array) ? TextEncoding.decodeString(item.unidentifiedDescriptionName.join('\n')) : '';
item.identifiedDisplayName = TextEncoding.decodeString(item.identifiedDisplayName);
item.unidentifiedDisplayName = TextEncoding.decodeString(item.unidentifiedDisplayName);
item.prefixNameTable = TextEncoding.decodeString(item.prefixNameTable || '');
Expand Down

0 comments on commit 4b4f470

Please sign in to comment.