Compare commits

..

No commits in common. "8e87a8df3b13d5b92b0b04b5068e933a5e997382" and "90c990e6321025d81914c0d467be090b3f0dc521" have entirely different histories.

View File

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