Explorar el Código

TimestampBufferSize is correct no -1 required

master
Pete McNeil hace 4 años
padre
commit
297527d3eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      SNFMulti.cpp

+ 1
- 1
SNFMulti.cpp Ver fichero

@@ -299,7 +299,7 @@ string FileUTC(string FileName) {
char TimestampBfr[TimestampBufferSize]; // Timestamp buffer.

size_t l = snprintf( // Format yyyymmddhhmmss
TimestampBfr, TimestampBufferSize-1,
TimestampBfr, TimestampBufferSize,
"%04d%02d%02d%02d%02d%02d",
FileNameTime.tm_year+1900,
FileNameTime.tm_mon+1,

Cargando…
Cancelar
Guardar