Changes by 2000/10/22

This commit is contained in:
Alexander S. Aganichev
2000-10-24 05:02:25 +00:00
parent 8be1e735f6
commit 0ba6da729d
13 changed files with 112 additions and 118 deletions

View File

@@ -106,7 +106,7 @@ static void v7unpack(char* src, char* dest, uint count) {
strcat(dest, obuf);
}
#ifdef DEBUGx
#ifdef DEBUG
printf("{%s}", dest);
#endif
}
@@ -297,7 +297,7 @@ void ftn_version7_nodelist_index::getindexkey() {
key[keylength] = NUL;
#ifdef DEBUG
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>%02d:%02d <%04ld> ",
printf("`---%02d:%02d <%04ld> ",
inode,
block.ndx.inodeblk.indxcnt,
block.ndx.inodeblk.indxref[inode-1].indxptr
@@ -316,7 +316,7 @@ void ftn_version7_nodelist_index::getleafkey() {
key[keylength] = NUL;
#ifdef DEBUG
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>%02d:%02d ", node, block.ndx.lnodeblk.indxcnt);
printf("`---%02d:%02d ", node, block.ndx.lnodeblk.indxcnt);
#endif
}

View File

@@ -147,8 +147,8 @@ public:
Line* prev; // Pointer to previous line
Line* next; // Pointer to next line
Line() { txt = ""; color = type = kludge = 0; prev = next = NULL; }
Line(const char *str) { txt = str; color = type = kludge = 0; prev = next = NULL; }
Line() : txt ("") { color = type = kludge = 0; prev = next = NULL; }
Line(const char *str) : txt (str) { color = type = kludge = 0; prev = next = NULL; }
~Line() {}
int istearline() { return !!(type & GLINE_TEAR); }