From c15cc877fa1a2e53205710230faa8f297a897af5 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 26 May 2020 19:14:37 +0000
Subject: [PATCH] Decompile FIO_SEEK -> "FSET_POS" (alias for FSEEK) since
 FSET_POS is the documented function name.

---
 src/sbbs3/unbaja.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/unbaja.c b/src/sbbs3/unbaja.c
index c285193291..143f9a02bb 100644
--- a/src/sbbs3/unbaja.c
+++ b/src/sbbs3/unbaja.c
@@ -1957,7 +1957,7 @@ void decompile(FILE *bin, FILE *srcfile)
 					case FIO_GET_POS:
 						VARVAR("FGET_POS");
 					case FIO_SEEK:
-						WRITE_NAME("FSEEK");
+						WRITE_NAME("FSET_POS");
 						write_var(bin,src);
 						write_lng(bin,src);
 						fread(&ush,2,1,bin);
@@ -1970,7 +1970,7 @@ void decompile(FILE *bin, FILE *srcfile)
 						eol(src);
 						break;
 					case FIO_SEEK_VAR:
-						WRITE_NAME("FSEEK");
+						WRITE_NAME("FSET_POS");
 						write_var(bin,src);
 						write_var(bin,src);
 						fread(&ush,2,1,bin);
-- 
GitLab