Fixed uninitialized memory and one small typo.

This commit is contained in:
Jonathan Young 2014-05-08 21:14:30 +10:00
parent b11ebf35b3
commit f1e8bbe2de
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,8 @@
ioLaunch::ioLaunch(QWidget *parent) : ioLaunch::ioLaunch(QWidget *parent) :
QMainWindow(parent), QMainWindow(parent),
ui(new Ui::ioLaunch) ui(new Ui::ioLaunch),
ioWidth(0), ioHeight(0), ioWedited(false), ioHedited(false)
{ {
ui->setupUi(this); ui->setupUi(this);
resOption = ""; resOption = "";
@ -116,7 +117,7 @@ void ioLaunch::on_cbResolution_currentIndexChanged(int index)
} }
case 8: case 8:
{ {
resOption = " +set r_customwidth 1024 +set r_customheight 3768"; resOption = " +set r_customwidth 1024 +set r_customheight 768";
break; break;
} }
case 9: case 9: