commit | dd52caaa093845c7c5157be78d94feb72f9cb155 | [log] [tgz] |
---|---|---|
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Dec 28 20:02:10 2011 +0000 |
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Dec 28 20:02:10 2011 +0000 |
tree | e32861ad0720c40c363af548d4368a374d7326fa | |
parent | abfa8d137b84a043bea2a27d16e379fa5f96a7ff [diff] [blame] |
return -1 if we failed to find by title git-svn-id: http://skia.googlecode.com/svn/trunk@2931 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index a1534e5..d3d2aa7 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp
@@ -758,8 +758,7 @@ return i; } } - // TODO(reed): what should this return if the title is not found? - return 0; + return -1; } static SkBitmap capture_bitmap(SkCanvas* canvas) {