>From the ChangeLog in 2.0.38:
6. FvwmButtons now handles Exec "" foobar correctly.
We have not found this to be the case. In fact,
Exec foobar
was also broken, and only
Exec "name" foobar
seemed to work.
The attached patch corrects the problem.
*** FvwmButtons.c.orig Tue Oct 17 10:20:39 1995
--- FvwmButtons.c Thu Nov 2 18:08:03 1995
***************
*** 363,369 ****
i2++;
}
else
! i2 = i;
if(i2 - i >1)
{
--- 363,369 ----
i2++;
}
else
! i2 = i - 1; /* grm: need to leave at space */
if(i2 - i >1)
{
***************
*** 379,385 ****
#if 0
i2 = 4; /* ckh - should this be i2++ instead? */
#else
! i2++;
#endif
}
tmp=safemalloc(strlen(Buttons[CurrentButton].action));
--- 379,385 ----
#if 0
i2 = 4; /* ckh - should this be i2++ instead? */
#else
! /*i2++; grm: should not be done, see i3= i2+1 below*/
#endif
}
tmp=safemalloc(strlen(Buttons[CurrentButton].action));
Grant McDorman <grant_at_isgtec.com>
ISG Technologies, Inc.
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Nov 02 1995 - 17:13:56 GMT