diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-10-30 16:52:41 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-10-30 16:52:41 +0000 |
commit | 36a7bd1bfbec28cb0d3390f4eb59c9a287f6f691 (patch) | |
tree | d04f0f212227d8ad2b14069890c353cadf365cb7 /cpp/src/Slice/RubyUtil.cpp | |
parent | Fixed bug from previous commit (diff) | |
download | ice-36a7bd1bfbec28cb0d3390f4eb59c9a287f6f691.tar.bz2 ice-36a7bd1bfbec28cb0d3390f4eb59c9a287f6f691.tar.xz ice-36a7bd1bfbec28cb0d3390f4eb59c9a287f6f691.zip |
Fixed windows crash
Diffstat (limited to 'cpp/src/Slice/RubyUtil.cpp')
-rw-r--r-- | cpp/src/Slice/RubyUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index 3eb6e2c43f3..185aadf23d5 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -1687,7 +1687,7 @@ Slice::Ruby::fixIdent(const string& ident, bool checkUpperCase) for(vector<string>::const_iterator i = ids.begin(); i != ids.end(); ++i) { string id = *i; - if(checkUpperCase) + if(checkUpperCase && id.size() != 0) { // TODO: Is this the correct way to capitalize Slice identifiers? if(id[0] >= 'a' && id[0] <= 'z') |