Project

General

Profile

Bug #116 ยป xbmc4xbox-makelegal.diff

uses constant names. - nuka1195, 21/09/2010 07:51 PM

View differences:

xbmc/lib/libPython/xbmcmodule/xbmcmodule.cpp (working copy)
CStdString strText;
if (!PyXBMCGetUnicodeString(strText, pObjectText, 1)) return NULL;
CStdString strFilename;
strFilename = CUtil::MakeLegalPath(strText, LEGAL_FATX);
int iLegal = bIsFatX != 0 ? LEGAL_FATX : LEGAL_WIN32_COMPAT;
CStdString strFilename = CUtil::MakeLegalPath(strText, iLegal);
return Py_BuildValue((char*)"s", strFilename.c_str());
}
    (1-1/1)