From c004a99ed310f2e77d296845d9a4b5dcdaacc514 Mon Sep 17 00:00:00 2001 From: corvid Date: Mon, 18 May 2015 00:17:31 +0000 Subject: not use strcpy here I see that openbsd likes to complain when it's used, and we certainly don't have a deep need for it in this case. --- src/tipwin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tipwin.cc b/src/tipwin.cc index 01d9a2f4..7cfa0844 100644 --- a/src/tipwin.cc +++ b/src/tipwin.cc @@ -41,7 +41,7 @@ TipWin::TipWin() : Fl_Menu_Window(1, 1) // will autosize { bgcolor = fl_color_cube(FL_NUM_RED - 1, FL_NUM_GREEN - 1, FL_NUM_BLUE - 2); recent = 0; - strcpy(tip, ""); + tip[0] = '\0'; cur_widget = NULL; set_override(); // no border end(); -- cgit v1.2.3