From 94d88c1799d6446c132a2ac7198601487d792099 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Fri, 23 Apr 2010 13:59:52 +0000 Subject: [Development] Define security types as rdr::U8 values. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4034 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/vncconfig/Authentication.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/vncconfig') diff --git a/win/vncconfig/Authentication.h b/win/vncconfig/Authentication.h index f4b38f8c..24b71038 100644 --- a/win/vncconfig/Authentication.h +++ b/win/vncconfig/Authentication.h @@ -40,10 +40,10 @@ namespace rfb { : PropSheetPage(GetModuleHandle(0), MAKEINTRESOURCE(IDD_AUTHENTICATION)), regKey(rk) {} void initDialog() { CharArray sec_types_str(SSecurityFactoryStandard::sec_types.getData()); - std::list sec_types = parseSecTypes(sec_types_str.buf); + std::list sec_types = parseSecTypes(sec_types_str.buf); useNone = useVNC = false; - std::list::iterator i; + std::list::iterator i; for (i=sec_types.begin(); i!=sec_types.end(); i++) { if ((*i) == secTypeNone) useNone = true; else if ((*i) == secTypeVncAuth) useVNC = true; -- cgit v1.2.3