Skip to content

Commit ddffc7b

Browse files
committed
some fixes for Clang Format
1 parent c1f1615 commit ddffc7b

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎SDK‎

‎Server/Components/Pawn/format.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ void AddOctal(U** buf_p, size_t& maxlen, unsigned int val, int width, int flags)
580580
*buf_p = buf;
581581
}
582582

583-
//#define ATCPRINTF_ADVANCE(fmt, ispacked) atcadvance(fmt, ispacked)
583+
// #define ATCPRINTF_ADVANCE(fmt, ispacked) atcadvance(fmt, ispacked)
584584

585585
template <typename S>
586586
static inline unsigned char atcadvance(unsigned char const** fmt, bool ispacked)

‎Server/Components/Pawn/utils.hpp‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ inline cell AMX_NATIVE_CALL pawn_SetTimerInterval(AMX* amx, cell const* params)
247247

248248
int interval = static_cast<int>(params[2]);
249249

250-
if(interval < 1)
250+
if (interval < 1)
251251
{
252252
return false;
253253
}
@@ -261,14 +261,14 @@ inline cell AMX_NATIVE_CALL pawn_KillAllTimers(AMX* amx, cell const* params)
261261
AMX_MIN_PARAMETERS("KillAllTimers", params, 0);
262262
ITimersComponent* timers = PawnManager::Get()->timers;
263263
for (int timerid = 0; timerid < timers->count(); timerid++)
264-
{
265-
ITimer* timer = PawnTimerImpl::Get()->getTimer(timerid);
264+
{
265+
ITimer* timer = PawnTimerImpl::Get()->getTimer(timerid);
266266
if (timer == nullptr || !timer->running())
267-
{
268-
return false;
269-
}
270-
timer->kill();
271-
}
267+
{
268+
return false;
269+
}
270+
timer->kill();
271+
}
272272
return true;
273273
}
274274

‎Server/Components/Timers/timer.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Timer final : public ITimer
6565
return running_;
6666
}
6767

68-
bool paused() const override
68+
bool paused() const override
6969
{
7070
return paused_;
7171
}

0 commit comments

Comments
 (0)