~ubuntu-branches/ubuntu/feisty/gnumeric/feisty-updates

« back to all changes in this revision

Viewing changes to src/position.c

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2006-11-14 14:02:03 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061114140203-iv3j2aii3vch6isl
Tags: 1.7.2-1ubuntu1
* Merge with debian experimental:
  - debian/control, debian/*-gtk-*, debian/rules,
    debian/shlibs.local: Xubuntu changes for
    gtk/gnome multibuild.
  - run intltool-update in po*
  - Build Depend on intltool

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
 
149
149
        pp->sheet = dep->sheet;
150
150
        pp->wb = dep->sheet->workbook;
151
 
        pp->eval.col = pp->eval.row = 0;
 
151
        if (dependent_is_cell (dep))
 
152
                pp->eval = DEP_TO_CELL (dep)->pos;
 
153
        else
 
154
                pp->eval.col = pp->eval.row = 0;
152
155
 
153
156
        return pp;
154
157
}