~ubuntu-branches/ubuntu/jaunty/luatex/jaunty

« back to all changes in this revision

Viewing changes to src/texk/web2c/luatexdir/managed-sa.c

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2007-12-10 10:24:34 UTC
  • mto: (1.1.5 upstream) (4.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20071210102434-37ilj4z2yfv1d8rd
Tags: upstream-0.20.1
ImportĀ upstreamĀ versionĀ 0.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
}
35
35
 
36
36
sa_tree_item
37
 
get_sa_item (sa_tree head, integer n) {
38
 
  int h,m;
 
37
get_sa_item (const sa_tree head, const integer n) {
 
38
  register int h;
 
39
  register int m;
39
40
  if (head->tree != NULL) {
40
41
    h = HIGHPART_PART(n);
41
42
    if (head->tree[h] != NULL) {
42
43
      m = MIDPART_PART(n);
43
44
      if (head->tree[h][m] != NULL) {
44
 
        return head->tree[h][m][LOWPART_PART(n)];
 
45
        return head->tree[h][m][LOWPART_PART(n)];
45
46
      }
46
47
    }
47
48
  }