mirror of https://github.com/odrling/Aegisub
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:
parent
ef65262920
commit
3193e05747
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue