# HG changeset patch # User jwe # Date 1095868418 0 # Node ID 6d41c8ee35cff8a7eb706792352f8406303bc3eb # Parent 1009e55429bccfb506708b75d5a72fc05ce33158 [project @ 2004-09-22 15:53:38 by jwe] diff -r 1009e55429bc -r 6d41c8ee35cf src/ov-fcn-inline.cc --- a/src/ov-fcn-inline.cc Wed Sep 22 15:18:37 2004 +0000 +++ b/src/ov-fcn-inline.cc Wed Sep 22 15:53:38 2004 +0000 @@ -612,15 +612,13 @@ for (int i = 0; i < fun_len; i++) { - if (islower (fun[i]) + char new_c = fun[i]; + + if (new_c != 'i' && new_c != 'j' + && islower (new_c) && (i == 0 || ! islower (fun[i-1])) && (i == fun_len || ! islower (fun[i+1]))) { - char new_c = fun[i]; - - if (new_c == 'i' || new_c == 'j') - continue; - int new_dist = std::abs (new_c - 'x'); if (dist == -1 || new_dist < dist