Skip to content

Commit

Permalink
chore: a long exsiting typo that happened to work
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
lotem committed Apr 25, 2024
1 parent 7c58556 commit 31b591d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime/schema.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Schema::Schema() : schema_id_(".default") {
}

Schema::Schema(const string& schema_id) : schema_id_(schema_id) {
config_.reset(boost::starts_with(schema_id_, L".")
config_.reset(boost::starts_with(schema_id_, ".")
? Config::Require("config")->Create(schema_id.substr(1))
: Config::Require("schema")->Create(schema_id));
FetchUsefulConfigItems();
Expand Down

0 comments on commit 31b591d

Please sign in to comment.