diff options
-rw-r--r-- | editors/awk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/awk.c b/editors/awk.c index 3ca0c5fce..8d88fce76 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -3029,7 +3029,11 @@ static var *evaluate(node *op, var *res) | |||
3029 | if (old_Fields_ptr) { | 3029 | if (old_Fields_ptr) { |
3030 | //if (old_Fields_ptr != Fields) | 3030 | //if (old_Fields_ptr != Fields) |
3031 | // debug_printf_eval("L.v moved\n"); | 3031 | // debug_printf_eval("L.v moved\n"); |
3032 | #if !ENABLE_PLATFORM_MINGW32 | ||
3032 | L.v += Fields - old_Fields_ptr; | 3033 | L.v += Fields - old_Fields_ptr; |
3034 | #else | ||
3035 | L.v = Fields + (L.v - old_Fields_ptr); | ||
3036 | #endif | ||
3033 | } | 3037 | } |
3034 | if (opinfo & OF_STR2) { | 3038 | if (opinfo & OF_STR2) { |
3035 | R.s = getvar_s(R.v); | 3039 | R.s = getvar_s(R.v); |