2
0
Эх сурвалжийг харах

stb_sprintf: Small simplification

This was intentional but we might as well just set cs=0
directly here.

Fixes issue #997.
Fabian Giesen 4 жил өмнө
parent
commit
3be65f1c0c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      stb_sprintf.h

+ 1 - 1
stb_sprintf.h

@@ -1022,7 +1022,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE(vsprintfcb)(STBSP_SPRINTFCB *callback,
             lead[0] = 0;
             lead[0] = 0;
             if (pr == 0) {
             if (pr == 0) {
                l = 0;
                l = 0;
-               cs = (((l >> 4) & 15)) << 24;
+               cs = 0;
                goto scopy;
                goto scopy;
             }
             }
          }
          }