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
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ wxString AssColor::GetASSFormatted(bool alpha,bool stripped,bool isStyle) const
|
||||||
/// @return
|
/// @return
|
||||||
wxString AssColor::GetSSAFormatted() const {
|
wxString AssColor::GetSSAFormatted() const {
|
||||||
long color = (a<<24)+(b<<16)+(g<<8)+r;
|
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;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue