Board: [WWIVnet] WWIV Development Subject: Re: help with code. interbbs lastcaller mod From: Xenos #1 @60 To: Xenos #1 @60 Date: Tue Jan 03, 2023 05:13 On Tuesday, January 03, 2023 at 17:59, Xenos wrote: X>R>Also you can make this more modern and pass a path directly. X>R> X>R>char s1[180]; X>R> sprintf(s1, "%slaston.txt", n.dir.c_str()); X>R> X>R>Do this (typing from memory, not tested) X>R> X>R>auto s1 = FilePath(n.dir, "laston.txt"); X> X>Will this work too? X> X> auto s1 = FilePath(n.dir, LASTON_TXT) X> X>(I'll test this of course, but writing this before I do anything.) Tested and works as planned. Hmmm... have some other ideas for this too. X> X>I also noticed the same INFO in the logoff matrix dialog, so I'll clean that X>as well. It's down in void GoodBye(). I'll fold this in with the patch/PR I'll submit later on. A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-. /*\ | /\liens' /\lcove! WWIV on Linux, Taguig, Metro Manila, Philippines | / v \`-=-=-=-=-=-=-=-=-=-=-=-[ WWIV Development ]-=-=--=-=-=-=-=-=-=-=-=-=-' .