aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde2018-02-17 16:19:50 +0100
committerGitHub2018-02-17 16:19:50 +0100
commitd05d4c2bddff05967c8d59137e5c13b576f7cb51 (patch)
tree373b6abb4e4a15befea66446841c16ce5541535b /core
parent3d4bf5a90e9b32c6c93647c7fa08785b22cd5442 (diff)
parentd35e48622800f6686dbdfba380e25170005dcc2b (diff)
downloadgodot-d05d4c2bddff05967c8d59137e5c13b576f7cb51.tar.gz
godot-d05d4c2bddff05967c8d59137e5c13b576f7cb51.tar.zst
godot-d05d4c2bddff05967c8d59137e5c13b576f7cb51.zip
Merge pull request #16776 from sudoio/remove-bad-words
Clean up some bad words from code comments
Diffstat (limited to 'core')
-rw-r--r--core/io/file_access_network.cpp2
-rw-r--r--core/io/resource_format_binary.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp
index ef886cdb3..21e3a4172 100644
--- a/core/io/file_access_network.cpp
+++ b/core/io/file_access_network.cpp
@@ -418,8 +418,6 @@ int FileAccessNetwork::get_buffer(uint8_t *p_dst, int p_length) const {
if (page != last_page) {
buffer_mutex->lock();
if (pages[page].buffer.empty()) {
- //fuck
-
waiting_on_page = page;
for (int j = 0; j < read_ahead; j++) {
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index 15c4835dc..5dfe06790 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -1124,7 +1124,7 @@ Error ResourceFormatLoaderBinary::rename_dependencies(const String &p_path, cons
DirAccess *da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
da->remove(p_path + ".depren");
memdelete(da);
- //fuck it, use the old approach;
+ //use the old approach
WARN_PRINT(("This file is old, so it can't refactor dependencies, opening and resaving: " + p_path).utf8().get_data());