Skip to content

Commit

Permalink
fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Aug 12, 2024
1 parent 809a2d4 commit 9eca643
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/hallelujah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <fcitx/candidatelist.h>
#include <fcitx/inputpanel.h>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <json-c/json.h>
#include <spell_public.h>

Expand Down
4 changes: 2 additions & 2 deletions src/hallelujah.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _FCITX5_SAYURA_SAYURA_H_
#define _FCITX5_SAYURA_SAYURA_H_
#ifndef _FCITX5_HALLELUJAH_HALLELUJAH_H_
#define _FCITX5_HALLELUJAH_HALLELUJAH_H_

#include <fcitx-utils/i18n.h>
#include <fcitx-utils/inputbuffer.h>
Expand Down
2 changes: 1 addition & 1 deletion test/testhallelujah.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ int main() {
char arg1[] = "--disable=all";
char arg2[] = "--enable=testim,testfrontend,spell,hallelujah";
char *argv[] = {arg0, arg1, arg2};
fcitx::Log::setLogRule("default=5,unikey=5");
fcitx::Log::setLogRule("default=5,hallelujah=5");
Instance instance(FCITX_ARRAY_SIZE(argv), argv);
instance.addonManager().registerDefaultLoader(nullptr);
EventDispatcher dispatcher;
Expand Down

0 comments on commit 9eca643

Please sign in to comment.