Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgDB/Field.cpp

    r10990 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 
    22 * 
    3  * This library is open source and may be redistributed and/or modified under   
    4  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     3 * This library is open source and may be redistributed and/or modified under 
     4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    55 * (at your option) any later version.  The full license is in LICENSE file 
    66 * included with this distribution, and on the openscenegraph.org website. 
    7  *  
     7 * 
    88 * This library is distributed in the hope that it will be useful, 
    99 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1111 * OpenSceneGraph Public License for more details. 
    1212*/ 
     
    399399 
    400400    const char* ptr = str; 
    401      
     401 
    402402    // check if could be a hex number. 
    403403    if (strncmp(ptr,"0x",2)==0) 
     
    409409               *ptr!=0 && 
    410410               ((*ptr>='0' && *ptr<='9') || 
    411                 (*ptr>='a' && *ptr<='f') ||   
     411                (*ptr>='a' && *ptr<='f') || 
    412412                (*ptr>='A' && *ptr<='F')) 
    413413              ) 
     
    415415            ++ptr; 
    416416        } 
    417          
     417 
    418418        // got to end of string without failure, therefore must be a hex integer. 
    419419        if (*ptr==0) return INTEGER; 
    420420    } 
    421      
     421 
    422422    ptr = str; 
    423423    // check if a float or an int.