mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 21:36:33 -04:00
--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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user