--Bug fixes

-Custom palettes were not being read correctly on non ANSI machines.

--Code changes
 -Prepare files for next release.
This commit is contained in:
Person
2020-02-25 18:31:44 -08:00
parent 87a8161fe4
commit c50568a98b
8 changed files with 15 additions and 7 deletions

View File

@ -1,5 +1,6 @@
#include "EmberPch.h"
#include "PaletteList.h"
#include "XmlToEmber.h"
namespace EmberNs
{
@ -615,6 +616,7 @@ void PaletteList<T>::ParsePalettes(xmlNode* node, const shared_ptr<string>& file
char* val;
xmlAttrPtr attr;
int index = 0;
Locale lcl;//This is required to properly read commas in the custom palette file. Because foreign locales treat a comma as the decimal point, which causes errors.
while (node)
{