• src/xpdev/named_str_list.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 15 16:01:53 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/dab5c85a241026d10ddd07c0
    Modified Files:
    src/xpdev/named_str_list.c
    Log Message:
    Fix namedStrListInsert() returning wrong element

    After inserting at position index via memmove, the function returned (*list)[count] (the old last element shifted right) instead of
    (*list)[index] (the newly inserted element).

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)