You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix some typos in source.
This commit is contained in:
@@ -60,10 +60,10 @@ String _remove_symlink(const String &dir) {
|
||||
// Change directory to the external data directory.
|
||||
chdir(dir.utf8().get_data());
|
||||
// Get the actual directory without the potential symlink.
|
||||
char dir_name_wihout_symlink[2048];
|
||||
getcwd(dir_name_wihout_symlink, 2048);
|
||||
char dir_name_without_symlink[2048];
|
||||
getcwd(dir_name_without_symlink, 2048);
|
||||
// Convert back to a String.
|
||||
String dir_without_symlink(dir_name_wihout_symlink);
|
||||
String dir_without_symlink(dir_name_without_symlink);
|
||||
// Restore original current directory.
|
||||
chdir(current_dir_name);
|
||||
return dir_without_symlink;
|
||||
|
||||
Reference in New Issue
Block a user