mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-04 22:49:46 +00:00
Fix an uninitialized value.
This commit is contained in:
parent
6382d794a7
commit
b6d6f26160
@ -125,13 +125,13 @@ namespace W32Util
|
||||
}
|
||||
|
||||
AsyncBrowseDialog::AsyncBrowseDialog(HWND parent, UINT completeMsg, std::wstring title)
|
||||
: type_(DIR), parent_(parent), completeMsg_(completeMsg), title_(title), complete_(false) {
|
||||
: type_(DIR), parent_(parent), completeMsg_(completeMsg), title_(title), complete_(false), result_(false) {
|
||||
thread_ = new std::thread(std::bind(&AsyncBrowseDialog::Execute, this));
|
||||
thread_->detach();
|
||||
}
|
||||
|
||||
AsyncBrowseDialog::AsyncBrowseDialog(Type type, HWND parent, UINT completeMsg, std::wstring title, std::wstring initialFolder, std::wstring filter, std::wstring extension)
|
||||
: type_(type), parent_(parent), completeMsg_(completeMsg), title_(title), initialFolder_(initialFolder), filter_(filter), extension_(extension), complete_(false) {
|
||||
: type_(type), parent_(parent), completeMsg_(completeMsg), title_(title), initialFolder_(initialFolder), filter_(filter), extension_(extension), complete_(false), result_(false) {
|
||||
thread_ = new std::thread(std::bind(&AsyncBrowseDialog::Execute, this));
|
||||
thread_->detach();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user