diff options
author | Hermet Park <hermetpark@gmail.com> | 2019-12-24 15:14:51 +0900 |
---|---|---|
committer | Hermet Park <hermetpark@gmail.com> | 2019-12-24 15:14:51 +0900 |
commit | 7874ae718f29b4b8ce7f4920ecc418f43af6abf8 (patch) | |
tree | 3d4599f5ddd51475337c3a7328f238e3dd8950c6 /src/bin/widgets_file_icons_2_same.c | |
parent | 03324357edec0fbf53f13a56a1efccdd84bfe0c6 (diff) |
Setup before starting fps measurement
It's not good to include the setup in fps measurement,
Also, animator tick occur immediately when test item is selected.
We need to setup before it in order to avoid invalid objects access.
Diffstat (limited to 'src/bin/widgets_file_icons_2_same.c')
-rw-r--r-- | src/bin/widgets_file_icons_2_same.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/widgets_file_icons_2_same.c b/src/bin/widgets_file_icons_2_same.c index ca709f6..b61377a 100644 --- a/src/bin/widgets_file_icons_2_same.c +++ b/src/bin/widgets_file_icons_2_same.c | |||
@@ -116,8 +116,8 @@ void FNAME(void); | |||
116 | # ifndef UI | 116 | # ifndef UI |
117 | void FNAME(void) | 117 | void FNAME(void) |
118 | { | 118 | { |
119 | ui_func_set(_key, _loop); | ||
120 | _setup(); | 119 | _setup(); |
120 | ui_func_set(_key, _loop); | ||
121 | } | 121 | } |
122 | # endif | 122 | # endif |
123 | #endif | 123 | #endif |