~ubuntu-branches/ubuntu/raring/xscreensaver/raring

« back to all changes in this revision

Viewing changes to hacks/glx/tunnel_draw.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-17 15:40:52 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117154052-w4ou7vty38gpp1r3
Tags: 5.12-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
                }
208
208
                else
209
209
                {
 
210
                        path1 = st->path;
210
211
                        path2 = (tnPath *)malloc(sizeof(tnPath));
211
212
                        path1->next = path2;
212
213
                        path1 = path2;
249
250
        
250
251
        cmpos = st->cam_pos;
251
252
        /* Get current curve */
252
 
        if (st->cam_pos->next->next->next)
 
253
        if (st->cam_pos->next &&
 
254
            st->cam_pos->next->next &&
 
255
            st->cam_pos->next->next->next)
253
256
        {
254
257
                p1 = st->cam_pos;
255
258
                for (i=0; i<4; i++)