Fixed Linux build.
This commit is contained in:
parent
4cd8e574e8
commit
22ca1ce1a2
@ -62,8 +62,7 @@ public:
|
||||
{
|
||||
bx::StringView result = m_token;
|
||||
m_token = bx::strTrim(
|
||||
bx::StringView(m_token.getTerm()+1
|
||||
, bx::strFind(bx::StringView(m_token.getTerm()+1, m_str.getTerm() ), m_ch).getPtr() )
|
||||
bx::StringView(m_token.getTerm()+1, bx::strFind(bx::StringView(m_token.getTerm()+1, m_str.getTerm() ), m_ch).getPtr() )
|
||||
, " \t\n"
|
||||
);
|
||||
return result;
|
||||
@ -96,7 +95,8 @@ bool openFileSelectionDialog(
|
||||
bx::write(&writer, &err
|
||||
, "--file-selection%s --title \"%.*s\" --filename \"%s\""
|
||||
, FileSelectionDialogType::Save == _type ? " --save" : ""
|
||||
, _title.getLength(), _title.getPtr()
|
||||
, _title.getLength()
|
||||
, _title.getPtr()
|
||||
, _inOutFilePath.getCPtr()
|
||||
);
|
||||
|
||||
@ -106,7 +106,8 @@ bool openFileSelectionDialog(
|
||||
|
||||
bx::write(&writer, &err
|
||||
, " --file-filter \"%.*s\""
|
||||
, line.getLength(), line.getPtr()
|
||||
, line.getLength()
|
||||
, line.getPtr()
|
||||
);
|
||||
}
|
||||
|
||||
@ -203,4 +204,4 @@ bool openFileSelectionDialog(
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif !BX_PLATFORM_OSX
|
||||
#endif // !BX_PLATFORM_OSX
|
||||
|
Loading…
Reference in New Issue
Block a user