#902: nviz (tcl) fails on wingrass
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: [email protected]
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: NVIZ | Version: svn-trunk
Resolution: | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by glynn):
Replying to [comment:9 glynn]:
> Oops; moving `argv[0]` to a separate argument also needs this:
{{{
- if ((strstr(argv[0], "nviz") != NULL) && (!demo->answer)) {
+ if ((strstr(argv0, "nviz") != NULL) && (!demo->answer)) {
}}}
Actually, it needs to have the command passed separately; argv0 is the
name of the script. Fixed (hopefully) in r40835.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/902#comment:10>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev