summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macguesstabsize.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-01-18 13:58:04 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-01-18 13:58:04 (GMT)
commitd50e4e1c544aae822fe50d1a4f953f6329dfc827 (patch)
treeaf06af8873f0a28e458e06fd2e7ad03bab0301d3 /Mac/Python/macguesstabsize.c
parent48d071d3027996d50a807139e0bfb8d392695bd8 (diff)
downloadcpython-d50e4e1c544aae822fe50d1a4f953f6329dfc827.zip
cpython-d50e4e1c544aae822fe50d1a4f953f6329dfc827.tar.gz
cpython-d50e4e1c544aae822fe50d1a4f953f6329dfc827.tar.bz2
More Pstring() stuff and some cosmetics
Diffstat (limited to 'Mac/Python/macguesstabsize.c')
-rw-r--r--Mac/Python/macguesstabsize.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Mac/Python/macguesstabsize.c b/Mac/Python/macguesstabsize.c
index 56b39a1..70314f6 100644
--- a/Mac/Python/macguesstabsize.c
+++ b/Mac/Python/macguesstabsize.c
@@ -17,14 +17,12 @@ guesstabsize(path)
s[0] = strlen(path);
memcpy(s+1, path, s[0]);
refnum = OpenResFile(s);
-/* printf("%s --> refnum=%d\n", path, refnum); */
if (refnum == -1)
return 0;
UseResFile(refnum);
h = GetIndResource('ETAB', 1);
if (h != 0) {
tabsize = (*(short**)h)[1];
-/* printf("tabsize=%d\n", tabsize); */
}
CloseResFile(refnum);
return tabsize;