Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
|
@ -2663,7 +2663,7 @@ String OS_Windows::get_executable_path() const {
|
|||
void OS_Windows::set_native_icon(const String &p_filename) {
|
||||
|
||||
FileAccess *f = FileAccess::open(p_filename, FileAccess::READ);
|
||||
ERR_FAIL_COND(!f);
|
||||
ERR_FAIL_COND_MSG(!f, "Cannot open file with icon '" + p_filename + "'.");
|
||||
|
||||
ICONDIR *icon_dir = (ICONDIR *)memalloc(sizeof(ICONDIR));
|
||||
int pos = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue