~ubuntu-branches/debian/experimental/openscenegraph/experimental

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osg/ArgumentParser.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Luaces
  • Date: 2011-01-29 11:36:29 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110129113629-qisrm2kdqlurc7t3
Tags: 2.9.11-1
* Removed bug-555869-ftbfs_with_binutils_gold.dpatch since upstream has
  already taken care of the issue.
* Removed bug-528229.dpatch since the pkgconfig files are now also split
  in upstream.
* Removed explicit dependency on GLU.
* Upstream no longer includes osgIntrospection (Closes: #592420).
* Disabled zip plugin as its implementation stores an embedded copy of
  zlib.
* Enabled Qt support. Thanks James Goppert.
* Enabled SVG and PDF plugins. Thanks James Goppert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
        }
198
198
    }
199
199
#endif
 
200
 
 
201
#ifdef WIN32
 
202
    // Remove linefeed from last argument if it exist
 
203
    char* lastline = argc==0 ? 0 : _argv[*argc-1];
 
204
    if (lastline)
 
205
    {
 
206
        int len = strlen(lastline);
 
207
        if (len>0 && lastline[len-1] == '\n') lastline[len-1]= '\0';
 
208
    }
 
209
#endif
200
210
}
201
211
 
202
212
std::string ArgumentParser::getApplicationName() const