Commit 8cacba5f authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

kernel32: Check for a valid pointer before yanking the line.

parent 6a3ffc4f
......@@ -636,7 +636,8 @@ static void WCEL_CapitalizeWord(WCEL_Context* ctx)
static void WCEL_Yank(WCEL_Context* ctx)
{
WCEL_InsertString(ctx, ctx->yanked);
if (ctx->yanked)
WCEL_InsertString(ctx, ctx->yanked);
}
static void WCEL_KillToEndOfLine(WCEL_Context* ctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment