From 32b52e80411d5bf23fc6add0a5ec67a24690c847 Mon Sep 17 00:00:00 2001 From: Joshua Olson <0joshua.olson1@gmail.com> Date: Wed, 26 Aug 2015 14:21:04 -0600 Subject: [PATCH] Fixed misspelled local variable for code clarity Specifically, tar(g)et_fps --- main/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/main.cpp b/main/main.cpp index 19ee1c115fc..acc122233af 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1454,9 +1454,9 @@ bool Main::iteration() { OS::get_singleton()->delay_usec( OS::get_singleton()->get_frame_delay()*1000 ); } - int taret_fps = OS::get_singleton()->get_target_fps(); - if (taret_fps>0) { - uint64_t time_step = 1000000L/taret_fps; + int target_fps = OS::get_singleton()->get_target_fps(); + if (target_fps>0) { + uint64_t time_step = 1000000L/target_fps; target_ticks += time_step; uint64_t current_ticks = OS::get_singleton()->get_ticks_usec(); if (current_ticksdelay_usec(target_ticks-current_ticks);