You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix typos with codespell
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
This commit is contained in:
@@ -282,7 +282,7 @@ uint64_t OS_Unix::get_ticks_usec() const {
|
||||
uint64_t longtime = mach_absolute_time() * _clock_scale;
|
||||
#else
|
||||
// Unchecked return. Static analyzers might complain.
|
||||
// If _setup_clock() succeded, we assume clock_gettime() works.
|
||||
// If _setup_clock() succeeded, we assume clock_gettime() works.
|
||||
struct timespec tv_now = { 0, 0 };
|
||||
clock_gettime(GODOT_CLOCK, &tv_now);
|
||||
uint64_t longtime = ((uint64_t)tv_now.tv_nsec / 1000L) + (uint64_t)tv_now.tv_sec * 1000000L;
|
||||
|
||||
Reference in New Issue
Block a user