Skip to content

Commit 2c2d7c4

Browse files
committed
2 parents 2798981 + 79c169e commit 2c2d7c4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rEFIt_UEFI/libeg/nanosvg.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,12 @@ void nsvg__dumpFloat(CONST char* s, float* t, int N)
228228
DBG("%s: ", s);
229229
for(int i=0; i<N;i++)
230230
{
231+
#if DEBUG_SVG != 0
231232
float a = t[i];
232233
int b = (int)a;
233234
int sign = (a < 0.f);
234235
DBG("%c%d.%06d ", ((b == 0) && sign)?'-':' ', b, (int)(fabsf((a-(float)b)*1.0e6f)));
236+
#endif
235237
}
236238
DBG("\n");
237239
#endif

0 commit comments

Comments
 (0)