| Index: tools/grit/grit/format/policy_templates/writers/reg_writer.py
|
| diff --git a/tools/grit/grit/format/policy_templates/writers/reg_writer.py b/tools/grit/grit/format/policy_templates/writers/reg_writer.py
|
| index 92a39c9c90eaa3fc39f96adb0bf815f828ac1a77..5aea50e1a6a6aea1bc360d232268d69f0f90aef5 100644
|
| --- a/tools/grit/grit/format/policy_templates/writers/reg_writer.py
|
| +++ b/tools/grit/grit/format/policy_templates/writers/reg_writer.py
|
| @@ -69,8 +69,10 @@ class RegWriter(template_writer.TemplateWriter):
|
| example_value_str = 'dword:1'
|
| else:
|
| example_value_str = 'dword:0'
|
| - elif policy['type'] == 'enum':
|
| + elif policy['type'] == 'int-enum':
|
| example_value_str = 'dword:%d' % example_value
|
| + elif policy['type'] == 'string-enum':
|
| + example_value_str = '"%s"' % example_value
|
| else:
|
| raise Exception('unknown policy type %s:' % policy['type'])
|
|
|
|
|