mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
src/gui/hdd_menu.cpp: remove '\n' for all msg
Origin commit data
------------------
Branch: ni/coolstream
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
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1029,11 +1029,13 @@ int CHDDMenuHandler::checkDevice(std::string dev)
|
||||
progress->showLocalStatus(percent);
|
||||
}
|
||||
}
|
||||
else if(!strncmp(buf, "Pass", 4)) {
|
||||
else {
|
||||
char *t = strrchr(buf, '\n');
|
||||
if (t)
|
||||
*t = 0;
|
||||
progress->showStatusMessageUTF(buf);
|
||||
if(!strncmp(buf, "Pass", 4)) {
|
||||
progress->showStatusMessageUTF(buf);
|
||||
}
|
||||
}
|
||||
}
|
||||
//printf("CHDDChkExec: %s\n", buf);
|
||||
|
Reference in New Issue
Block a user