We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d1255 commit 3e2654cCopy full SHA for 3e2654c
cmd.c
@@ -522,6 +522,7 @@ int cmd_replace_all(cmd_context_t *ctx) {
522
regex = NULL;
523
replacement = NULL;
524
CDL_COUNT2(ctx->editor->all_bviews, bview, num_bviews, all_next);
525
+ if (num_bviews <= 0) return MLE_OK;
526
buffer_done = calloc(num_bviews, sizeof(buffer_t *));
527
buffer_done_i = 0;
528
0 commit comments