mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 23:26:25 +02:00
Update ScriptEngine.cpp
DWORD is not defined in UNIX based systems. int should be fine
This commit is contained in:
parent
5d812c8cb2
commit
825acbbd9c
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ ScriptEngine::ScriptEngine(const QUrl& scriptURL,
|
|||
QUrl url(scriptURL);
|
||||
|
||||
// if the scheme length is one or lower, maybe they typed in a file, let's try
|
||||
const DWORD WINDOWS_DRIVE_LETTER_SIZE = 1;
|
||||
const int WINDOWS_DRIVE_LETTER_SIZE = 1;
|
||||
if (url.scheme().size() <= WINDOWS_DRIVE_LETTER_SIZE) {
|
||||
url = QUrl::fromLocalFile(scriptURLString);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue