From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];