Default to Long on invalid type.
This commit is contained in:
parent
588ebe08cd
commit
a5368033a3
@ -50,6 +50,7 @@ const MPSiteType mpw_typeWithName(const char *typeName) {
|
|||||||
return MPSiteTypeGeneratedPhrase;
|
return MPSiteTypeGeneratedPhrase;
|
||||||
|
|
||||||
ftl( "Not a generated type name: %s", stdTypeName );
|
ftl( "Not a generated type name: %s", stdTypeName );
|
||||||
|
return MPSiteTypeGeneratedLong;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char **mpw_templatesForType(MPSiteType type, size_t *count) {
|
const char **mpw_templatesForType(MPSiteType type, size_t *count) {
|
||||||
|
Loading…
Reference in New Issue
Block a user