Merge branch 'master' of http://192.168.10.5:8099/sane/doc_and_tools
This commit is contained in:
commit
1e590f0dac
|
@ -319,12 +319,13 @@ namespace sdk_util
|
|||
*ptr = coding_util::crc_32((const void*)(ptr + 1), cont.length() - 8);
|
||||
|
||||
file_util::PATHFILE file = { 0 };
|
||||
tmp = 0;
|
||||
if (file_util::browser_file(owner, &file, L"Language pack(*.pak)\0\0", false))
|
||||
{
|
||||
file_util::save_2_file(cont.c_str(), cont.length(), file.path);
|
||||
tmp = file_util::save_2_file(cont.c_str(), cont.length(), file.path);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return tmp;
|
||||
}
|
||||
|
||||
bool parse_pak_digest(uint8_t* data, int* id)
|
||||
|
@ -932,7 +933,8 @@ void CDlgLang::OnBnClickedButtonSave()
|
|||
return;
|
||||
}
|
||||
|
||||
sdk_util::save_2_lang_pak(m_hWnd, items, cp);
|
||||
if (sdk_util::save_2_lang_pak(m_hWnd, items, cp))
|
||||
::MessageBoxW(m_hWnd, L"\u8BF7\u68C0\u67E5\u8DEF\u5F84\u53CA\u6743\u9650\u662F\u5426\u6B63\u5E38?", L"\u4FDD\u5B58\u5931\u8D25", MB_OK);
|
||||
}
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue