diff --git a/main/app.c b/main/app.c
index e6ca51483e76917bc9c1f845c33fe34e23744ddc..3a1cdc1bb64ec0756ad6613a96c10bfb34af2edb 100644
--- a/main/app.c
+++ b/main/app.c
@@ -914,8 +914,9 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile,
 			totalsilence += dspsilence;
 		}
 
-        	if (totalsilence > 0)
+		if (totalsilence > 0) {
 			*duration -= (totalsilence - 200) / 1000;
+		}
 		if (*duration < 0) {
 			*duration = 0;
 		}
@@ -929,7 +930,7 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile,
 			 * to trim ANY part of the recording.
 			 */
 			if (res > 0 && dspsilence) {
-                                /* rewind only the trailing silence */
+				/* rewind only the trailing silence */
 				ast_stream_rewind(others[x], dspsilence - 200);
 			}
 			ast_truncstream(others[x]);
diff --git a/main/say.c b/main/say.c
index 25805a1df1e796abb46001bdd5a812e0341b4cf0..267137b8bb2dfd43d12c9e28b947fcf252425b48 100644
--- a/main/say.c
+++ b/main/say.c
@@ -3725,7 +3725,7 @@ int ast_say_date_with_format_en(struct ast_channel *chan, time_t t, const char *
 			case 'Y':
 				/* Year */
 				if (tm.tm_year > 99) {
-				        res = ast_say_number(chan, tm.tm_year + 1900, ints, lang, (char *) NULL);
+					res = ast_say_number(chan, tm.tm_year + 1900, ints, lang, (char *) NULL);
 				} else if (tm.tm_year < 1) {
 					/* I'm not going to handle 1900 and prior */
 					/* We'll just be silent on the year, instead of bombing out. */
@@ -4559,13 +4559,13 @@ int ast_say_date_with_format_he(struct ast_channel *chan, time_t t, const char *
 				break;
 			case 'd':
 			case 'e': /* Day of the month */
-                                /* I'm not sure exactly what the parameters 
-                                 * audiofd and ctrlfd to 
-                                 * ast_say_number_full_he mean, but it seems
-                                 * safe to pass -1 there. 
-                                 *
-                                 * At least in one of the pathes :-( 
-                                 */
+				/* I'm not sure exactly what the parameters 
+ 				* audiofd and ctrlfd to 
+ 				* ast_say_number_full_he mean, but it seems
+ 				* safe to pass -1 there. 
+ 				*
+ 				* At least in one of the pathes :-( 
+ 				*/
 				res = ast_say_number_full_he(chan, tm.tm_mday, ints, lang, "m", -1, -1);
 				break;
 			case 'Y': /* Year */
@@ -5225,7 +5225,7 @@ int ast_say_date_with_format_it(struct ast_channel *chan, time_t t, const char *
 				break;
 			case 'R':
 				res = ast_say_date_with_format_it(chan, t, ints, lang, "HM", tzone);
-	        	break;
+				break;
 			case 'S':
 				/* Seconds */
 				if (tm.tm_sec == 0) {
@@ -5254,7 +5254,7 @@ int ast_say_date_with_format_it(struct ast_channel *chan, time_t t, const char *
 						}
 					}
 				}
-		        break;
+				break;
 			case 'T':
 				res = ast_say_date_with_format_it(chan, t, ints, lang, "HMS", tzone);
 				break;
@@ -7703,7 +7703,7 @@ int ast_say_date_with_format_vi(struct ast_channel *chan, time_t t, const char *
 			case 'Y':
 				/* Year */
 				if (tm.tm_year > 99) {
-				        res = ast_say_number(chan, tm.tm_year + 1900, ints, lang, (char *) NULL);
+					res = ast_say_number(chan, tm.tm_year + 1900, ints, lang, (char *) NULL);
 				} else if (tm.tm_year < 1) {
 					/* I'm not going to handle 1900 and prior */
 					/* We'll just be silent on the year, instead of bombing out. */
@@ -8263,7 +8263,7 @@ static const char *counted_noun_ending_en(int num)
  */
 static const char *counted_noun_ending_slavic(int num)
 {
-    	if (num < 0) {
+	if (num < 0) {
 	    num *= -1;
 	}
 	num %= 100;			/* never pay attention to more than two digits */