aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/GMSampleView.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-09 19:50:48 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-09 19:50:48 +0000
commite9f091d7cd6eeccb0c1b84226a8543dc8a3d285a (patch)
tree3888297433ce937bbc4009be2f8f76acdec43fb5 /samplecode/GMSampleView.h
parent07dd2bfd7451ef7052cf53958e6561fd6c5563a3 (diff)
Use : as separator between "GM" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.
git-svn-id: http://skia.googlecode.com/svn/trunk@2846 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/GMSampleView.h')
-rw-r--r--samplecode/GMSampleView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/GMSampleView.h b/samplecode/GMSampleView.h
index ba3064b81c..7decfcbe0c 100644
--- a/samplecode/GMSampleView.h
+++ b/samplecode/GMSampleView.h
@@ -28,7 +28,7 @@ public:
protected:
virtual bool onQuery(SkEvent* evt) {
if (SampleCode::TitleQ(*evt)) {
- SkString name("GM ");
+ SkString name("GM:");
name.append(fGM->shortName());
SampleCode::TitleR(evt, name.c_str());
return true;