Use correct format specifier in AssColor::GetSSAFormatted()

Avoids a ton of assertion failures when saving SSA files.

Originally committed to SVN as r6942.
This commit is contained in:
cantabile 2012-07-24 02:39:35 +00:00 committed by Thomas Goyne
parent ef65262920
commit 3193e05747
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ wxString AssColor::GetASSFormatted(bool alpha,bool stripped,bool isStyle) const
/// @return
wxString AssColor::GetSSAFormatted() const {
long color = (a<<24)+(b<<16)+(g<<8)+r;
wxString output=wxString::Format("%i",(long)color);
wxString output=wxString::Format("%li",(long)color);
return output;
}