~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

« back to all changes in this revision

Viewing changes to bonobo/bonobo-stream-memory.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-02-18 14:40:51 UTC
  • mto: (3.1.1 etch) (1.1.25 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050218144051-fo4h9qh2gim8x3wt
Tags: upstream-2.8.1
ImportĀ upstreamĀ versionĀ 2.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        int pos = 0;
178
178
        
179
179
        switch (whence){
180
 
        case Bonobo_Stream_SEEK_SET:
 
180
        case Bonobo_Stream_SeekSet:
181
181
                pos = offset;
182
182
                break;
183
183
 
184
 
        case Bonobo_Stream_SEEK_CUR:
 
184
        case Bonobo_Stream_SeekCur:
185
185
                pos = smem->pos + offset;
186
186
                break;
187
187
 
188
 
        case Bonobo_Stream_SEEK_END:
 
188
        case Bonobo_Stream_SeekEnd:
189
189
                pos = smem->size + offset;
190
190
                break;
191
191