prefix GM names with "GM " so I know that's what they are.
git-svn-id: http://skia.googlecode.com/svn/trunk@2624 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/GMSampleView.h b/samplecode/GMSampleView.h
index 08acfcc..ba3064b 100644
--- a/samplecode/GMSampleView.h
+++ b/samplecode/GMSampleView.h
@@ -28,7 +28,9 @@
protected:
virtual bool onQuery(SkEvent* evt) {
if (SampleCode::TitleQ(*evt)) {
- SampleCode::TitleR(evt, fGM->shortName());
+ SkString name("GM ");
+ name.append(fGM->shortName());
+ SampleCode::TitleR(evt, name.c_str());
return true;
}
return this->INHERITED::onQuery(evt);