• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

TextMate is a graphical text editor for OS X 10.7+


Commit MetaInfo

Revision6fa92db26529c1c06ae1f0e201213b99bb1174c2 (tree)
Time2012-08-22 06:45:45
AuthorAllan Odgaard <git@abet...>
CommiterAllan Odgaard

Log Message

fixup! Prune redundant items from SCM data source

Change Summary

Incremental Difference

--- a/Frameworks/OakFileBrowser/src/io/FSSCMDataSource.mm
+++ b/Frameworks/OakFileBrowser/src/io/FSSCMDataSource.mm
@@ -54,10 +54,10 @@ _Iter prune_path_children (_Iter it, _Iter last)
5454 {
5555 _Iter out = it;
5656 std::sort(it, last);
57- for(std::string parent = NULL_STR; it != last; parent = *it++)
57+ for(std::string parent = NULL_STR; it != last; ++it)
5858 {
5959 if(it->size() <= parent.size() || it->at(parent.size()) != '/' || it->find(parent) != 0)
60- *out++ = *it;
60+ *out++ = parent = *it;
6161 }
6262 return out;
6363 }