From 50dae16188df81a9be9e37fb19268582d9795129 Mon Sep 17 00:00:00 2001 From: smf- Date: Mon, 8 Oct 2012 14:23:08 +0000 Subject: [PATCH] fixed an incorrect optimisation (nw) --- src/tools/srcclean.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tools/srcclean.c b/src/tools/srcclean.c index 7a027a41e57..87856aff744 100644 --- a/src/tools/srcclean.c +++ b/src/tools/srcclean.c @@ -230,12 +230,11 @@ int main(int argc, char *argv[]) spaces -= realign; } - col += spaces; - while (spaces > 0) { modified[dst++] = 0x09; spaces -= tab_size; + col += tab_size; added_tabs++; } }