On Mon, 26 Jan 2004 13:52:13 -0800 "Robert M. Riches Jr." <rm.riches@verizon.net> wrote: > Any > guidance on where the state variable should be declared? Shouldn't be necessary. Just change the code in xsane.c that checks preferences.working_directory to not set it if it is null. Not tested, DYOR etc. Martin