1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-04 20:48:54 +03:00

Fixed mistake in 8bcd03962f.

"iclock" is not a local variable: it is a field, so it should be updated.
This commit is contained in:
Maarten ter Huurne 2011-09-19 16:49:30 +02:00
parent 03ea679a1d
commit 6729e30acb

View File

@ -145,9 +145,10 @@ const string &LinkApp::clockStr(int maxClock) {
} }
void LinkApp::setClock(int mhz) { void LinkApp::setClock(int mhz) {
iclock = mhz;
stringstream ss; stringstream ss;
sclock = ""; sclock = "";
ss << mhz << "MHz"; ss << iclock << "MHz";
ss >> sclock; ss >> sclock;
edited = true; edited = true;