Explorar o código

spelling: justify

Josh Soref %!s(int64=9) %!d(string=hai) anos
pai
achega
89a26f1f4d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/snprintf.c

+ 2 - 2
src/snprintf.c

@@ -847,7 +847,7 @@ static void fmtint(char *buffer, size_t *currlen, size_t maxlen,
 		spadlen = 0;
 	}
 	if (flags & DP_F_MINUS) 
-		spadlen = -spadlen; /* Left Justifty */
+		spadlen = -spadlen; /* Left Justify */
 
 #ifdef DEBUG_SNPRINTF
 	printf("zpad: %d, spad: %d, min: %d, max: %d, place: %d\n",
@@ -1055,7 +1055,7 @@ static void fmtfp (char *buffer, size_t *currlen, size_t maxlen,
 	if (padlen < 0) 
 		padlen = 0;
 	if (flags & DP_F_MINUS) 
-		padlen = -padlen; /* Left Justifty */
+		padlen = -padlen; /* Left Justify */
 	
 	if ((flags & DP_F_ZERO) && (padlen > 0)) {
 		if (signvalue) {