From 629f3c1a8acd25affcd201ec36d9192d1c66565d Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Tue, 25 Nov 2014 19:22:56 +0100 Subject: [PATCH] - Oops comment typo. --- src/p_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 604015700..3097ae824 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -132,8 +132,8 @@ static fixed_t GetCoefficientClosestPointInLine24(line_t *ld, FCheckPosition &tm // the right shift by 24 places. return (fixed_t)(r_num/(r_den >> 24)); } - // [EP] Having the last 24 bits all zero allows right shifting - // the numerator by 24 bits. + // [EP] Having the last 24 bits all zero allows left shifting + // the numerator by 24 bits without overflow. return (fixed_t)((r_num << 24)/r_den); }