From 2ff492d005ede2966671bb927143e0feefd4d4bb Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Mon, 12 Jun 2017 00:38:50 -0400 Subject: [PATCH] - fix compile on Windows --- src/menu/menudef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menu/menudef.cpp b/src/menu/menudef.cpp index 952657ead8..e7818d8492 100644 --- a/src/menu/menudef.cpp +++ b/src/menu/menudef.cpp @@ -596,7 +596,7 @@ static bool ReplaceMenu(FScanner &sc, DMenuDescriptor *desc) { auto sep = CreateOptionMenuItemStaticText(" "); (*pOld)->mItems.Push(sep); - auto sep = CreateOptionMenuItemStaticText("---------------", 1); + sep = CreateOptionMenuItemStaticText("---------------", 1); (*pOld)->mItems.Push(sep); for (auto it : desc->mItems) {