Changeset 17 for trunk/libdjvu/GURL.cpp


Ignore:
Timestamp:
May 3, 2006, 10:14:37 AM (15 years ago)
Author:
Eugene Romanenko
Message:

update makefiles, remove absolute paths, update djvulibre to version 3.5.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/GURL.cpp

    r15 r17  
    5252//C- +------------------------------------------------------------------
    5353//
    54 // $Id: GURL.cpp,v 1.19 2005/04/27 16:34:13 leonb Exp $
    55 // $Name: release_3_5_16 $
     54// $Id: GURL.cpp,v 1.21 2005/12/24 12:45:01 leonb Exp $
     55// $Name: $
    5656
    5757#ifdef HAVE_CONFIG_H
     
    393393                        EMPTY_LOOP;
    394394           arg=ptr;
    395            url=url.substr(0,(size_t)ptr-(size_t)url_ptr);
     395           url=url.substr(0,(size_t)(ptr-url_ptr));
    396396         }
    397397
     
    828828
    829829      // And clear everything past the '?' sign in the URL
    830    for(const char * ptr=url;*ptr;ptr++)
     830   const char * ptrurl = url;
     831   for(const char *ptr = ptrurl; *ptr; ptr++)
    831832      if (*ptr=='?')
    832833      {
    833          url.setat(ptr-url, 0);
     834         url.setat(ptr-ptrurl, 0);
    834835         break;
    835836      }
Note: See TracChangeset for help on using the changeset viewer.