mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
src/gui/hdd_menu.cpp: remove '\n' for all msg
Origin commit data
------------------
Commit: 8acad336ba
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-05-10 (Sat, 10 May 2014)
Origin message was:
------------------
src/gui/hdd_menu.cpp: remove '\n' for all msg
This commit is contained in:
@@ -1029,11 +1029,13 @@ int CHDDMenuHandler::checkDevice(std::string dev)
|
|||||||
progress->showLocalStatus(percent);
|
progress->showLocalStatus(percent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(!strncmp(buf, "Pass", 4)) {
|
else {
|
||||||
char *t = strrchr(buf, '\n');
|
char *t = strrchr(buf, '\n');
|
||||||
if (t)
|
if (t)
|
||||||
*t = 0;
|
*t = 0;
|
||||||
progress->showStatusMessageUTF(buf);
|
if(!strncmp(buf, "Pass", 4)) {
|
||||||
|
progress->showStatusMessageUTF(buf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//printf("CHDDChkExec: %s\n", buf);
|
//printf("CHDDChkExec: %s\n", buf);
|
||||||
|
Reference in New Issue
Block a user