mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -04:00
Version 0.11.0.2
- Qt5 based building errors resolved
This commit is contained in:
parent
2fa0bcc998
commit
5e1b476c86
2 changed files with 6 additions and 6 deletions
|
@ -2243,7 +2243,7 @@ UINT8 FfsEngine::findTextPatternIn(const QModelIndex & index, const QString & pa
|
|||
if (unicode)
|
||||
data = QString::fromUtf16((const ushort*) item->body().data(), item->body().length()/2);
|
||||
else
|
||||
data = QString::fromAscii((const char*) item->body().data(), item->body().length());
|
||||
data = QString::fromLatin1((const char*) item->body().data(), item->body().length());
|
||||
|
||||
int offset = -1;
|
||||
while ((offset = data.indexOf(pattern, offset + 1, caseSensitive)) >= 0) {
|
||||
|
@ -2256,4 +2256,4 @@ UINT8 FfsEngine::findTextPatternIn(const QModelIndex & index, const QString & pa
|
|||
}
|
||||
|
||||
return ERR_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue