Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix useless if in ResourceUtilities.cpp #121

Open
Sqeaky opened this issue Oct 5, 2015 · 0 comments
Open

Fix useless if in ResourceUtilities.cpp #121

Sqeaky opened this issue Oct 5, 2015 · 0 comments

Comments

@Sqeaky
Copy link
Member

Sqeaky commented Oct 5, 2015

In the function String DirName(const String& FileName) there is this lovely WTF, I probably wrote it too:

          if( Last<FileName.size() ) {
              return FileName.substr(0,Last+1);
          }else{
              return FileName.substr(0,Last+1);
          }
@Sqeaky Sqeaky added this to the 1 - Jagati Refactor milestone Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant