Fix small C++ typo and unbreak the build.

Reported by:	pointyhat.freebsd.org
Approved by:	portmgr (marcus), fjoe (mentor, implicit)
This commit is contained in:
Alexey Dokuchaev 2004-09-18 08:17:56 +00:00
parent 6155fc8ed5
commit f835efb5aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118228

View File

@ -0,0 +1,19 @@
--- libmenus/dialog.h.orig Fri Oct 3 00:23:55 2003
+++ libmenus/dialog.h Fri Sep 17 18:44:10 2004
@@ -24,6 +24,7 @@
* *
***************************************************************************/
+#include <iostream>
#include <string>
#include <vector>
@@ -121,7 +122,7 @@
unsigned int choice = 0;
do
{
- std::cout<<endl<<m_prompt;
+ std::cout<<std::endl<<m_prompt;
std::string trash;
std::cin>>trash;