Ignore:
Timestamp:
Feb 20, 2007 2:58:40 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #117: Bug in pj_array_insert() when position is equal to count-1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/array.c

    r974 r986  
    2828                              const void *value) 
    2929{ 
    30     if (count && pos < count-1) { 
     30    if (count && pos < count) { 
    3131        pj_memmove( (char*)array + (pos+1)*elem_size, 
    3232                    (char*)array + pos*elem_size, 
Note: See TracChangeset for help on using the changeset viewer.