On Fri, 06 Aug 1999 23:42:50 +0100, Arnd Hanses wrote:

>On Fri, 06 Aug 1999 22:11:37 +0100, Arnd Hanses wrote:
>
>>+/* non portable EMX C Library fn, should handle DBCS[*] too */
>>+                     LString sh = _getname( getenv("EMXSHELL") );
>>+
>
>Looking closer at the patch, I found line 612 of lyx_cb.C lacks a cast:
>
>+/* non portable EMX C Library fn, should handle DBCS[*] too */
>+                      LString sh = LString (_getname(
>getenv("EMXSHELL") ));
>+

dito some lines lower; it should read:

+                       if (sh.empty())
+                       {
+                               sh = LString(_getname(
getenv("COMSPEC") ));
+ /* dito */
+                               if (sh.empty()) /* shouldnt' happen
*/
+                                       sh = "cmd.exe";
+                       }


Greets,

        Arnd


Reply via email to