Compare commits

..

No commits in common. "73fca2e983de7f6b2af2e6422729605cd125e544" and "3cf9cf5392c61a7a790f5fe101e0bfe75a1b753a" have entirely different histories.

View File

@ -292,10 +292,7 @@ pub struct SmallLeftDialog {
}
impl SmallLeftDialog {
pub fn new(mut msg: String) -> SmallLeftDialog {
if !msg.ends_with('\0') {
msg.push('\0');
}
pub fn new(msg: String) -> SmallLeftDialog {
SmallLeftDialog {
padding: [0x00004500, 0x45004500],
msg: msg,