[m-rev.] diff: Fix compilation errors in the tcltk binding.

Paul Bone paul at bone.id.au
Wed Feb 5 12:30:07 AEDT 2014


This patch is contributed by Sebastian Godelet.  I've changed his log
message so that it conforms with our style.


Branches: version-14_01-branch

Fix compilation errors in the tcltk binding.

Add the MR_ prefix to list_empty and list_tail calls.

extras/graphics/mercury_tcltk/mtcltk.m:
    In line 157, the MR_ prefix was missing from the list_empty and
    list_tail calls.
---
 extras/graphics/mercury_tcltk/mtcltk.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/graphics/mercury_tcltk/mtcltk.m b/extras/graphics/mercury_tcltk/mtcltk.m
index fcb64a0..a027d3c 100644
--- a/extras/graphics/mercury_tcltk/mtcltk.m
+++ b/extras/graphics/mercury_tcltk/mtcltk.m
@@ -154,7 +154,7 @@
     MR_incr_hp(argv_word, argc + 1);
     argv = (char **) argv_word;
 
-    for (i = 0, l = Args; l != list_empty(); l = list_tail(l), i++) {
+    for (i = 0, l = Args; l != MR_list_empty(); l = MR_list_tail(l), i++) {
         argv[i] = (char *) MR_list_head(l);
     }
     
-- 
1.8.5.3




More information about the reviews mailing list