aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline.h')
-rw-r--r--src/cmdline.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmdline.h b/src/cmdline.h
index 1a57db5..be97c74 100644
--- a/src/cmdline.h
+++ b/src/cmdline.h
@@ -88,7 +88,8 @@ teco_cmdline_keymacro_c(gchar key, GError **error)
static inline gboolean
teco_cmdline_is_executing(teco_machine_main_t *ctx)
{
- return ctx == &teco_cmdline.machine && ctx->macro_pc == teco_cmdline.effective_len;
+ return G_UNLIKELY(ctx == &teco_cmdline.machine &&
+ ctx->macro_pc == teco_cmdline.effective_len);
}
extern gboolean teco_quit_requested;