X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Fcommon%2Fsearchenv.s;h=7a48a3a529ec80f4dd681c65f2cd6bc65717bb94;hb=85885001b133e2dc320b6f6459259afa69784ca8;hp=5851333868a996320127b21c6ab068ddca332131;hpb=44fd1082ae807a0b6b4046c65914e20a7e27101c;p=cc65 diff --git a/libsrc/common/searchenv.s b/libsrc/common/searchenv.s index 585133386..7a48a3a52 100644 --- a/libsrc/common/searchenv.s +++ b/libsrc/common/searchenv.s @@ -23,7 +23,7 @@ ; Copy the pointer to the environment to the zero page - jsr copyenvptr + jsr copyenvptr ; Loop over all environment entries trying to find the requested one. @@ -71,13 +71,13 @@ ; copyenvptr: Copy _environ to ptr2 ; -.proc copyenvptr +.proc copyenvptr lda __environ sta ptr2 lda __environ+1 sta ptr2+1 - rts + rts .endproc