#264 Editplayer crashes when attempt is made to insert at line 0

Minor_Bug
open
nobody
5
2012-12-15
2010-04-01
Majik Fox
No

How to replicate:

1. Type 'editplayer' [enter]
2. Select option 2 - Description
3. Type .i 0
4. Get crash:

Programmer Error. Please tell Wizard what you typed, and the following message.
lib-editor(#16120), line 90; STRNCMP: Non-string argument.

@version
Version: Muck2.2fb6.08 Compiled on: Tue Mar 24 2009 at 19:10:22 PDT

Replicated on FurryMUCK.

Discussion

  • Laurence Parry
    Laurence Parry
    2011-10-19

    For me, .i 0 is ignored, but it broke when using relative addressing:
    .i
    < Insert at line 6 >
    .i -1
    < Insert at line 5 >
    .i -5
    Programmer Error. Please tell SpinDizzy what you typed, and the following message.
    lib-editor(#14), line 89; STRNCMP: Non-string argument.