From: qwerty2501 Date: Mon, 6 Feb 2012 15:13:41 +0000 (+0900) Subject: 余分な処理を削除 X-Git-Tag: v0.002~2^2~26 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f1a125239dfdb115d0319c83d0d45b2822503193;p=nlite%2Fnlite.git 余分な処理を削除 --- diff --git a/nlite.suo b/nlite.suo index 250e0c8..ed71e2c 100644 Binary files a/nlite.suo and b/nlite.suo differ diff --git a/nlite/nlite_commentview.cpp b/nlite/nlite_commentview.cpp index fd98270..a80b967 100644 --- a/nlite/nlite_commentview.cpp +++ b/nlite/nlite_commentview.cpp @@ -893,8 +893,7 @@ namespace nlite{ VOID CCommentListWindow::OnPaint(HDC in_hdc){ - - + this->self.refAuth.GetUserSession(); RECT windowRect; RECT listRect = {0}; RECT clientRect; diff --git a/nlite/nlite_nlib.cpp b/nlite/nlite_nlib.cpp index 997133c..b6c0ec3 100644 --- a/nlite/nlite_nlib.cpp +++ b/nlite/nlite_nlib.cpp @@ -31,21 +31,7 @@ VOID CNicoVideoAuth::SetBrowserType(BROWSERTYPE bt){ throw NLIBException(TEXT("ƒjƒRƒjƒR“®‰æ”FØî•ñŽæ“¾‚ÉŽ¸”s‚µ‚Ü‚µ‚½"),rslt,__LINE__,TEXT(__FILE__),TEXT(__FUNCTION__)); } - CString domein(TEXT("http://") + CString(WWW_NICO_VIDEO_DOMEINNAME)); - std::vector userSession(_tcslen(this->GetUserSession()) + 1); - _tcscpy(&userSession[0],this->GetUserSession()); - LPTSTR name = &userSession[0]; - LPTSTR val =_tcsstr(&userSession[0],TEXT("=")); - - if(val != NULL){ - *(val) = TEXT('\0'); - val++; - wincheck(::GetLastError()); - //dumpln(TEXT("left:%s,right:%s"),userSession.Left(sertchEquol),userSession.Right(sertchEquol)); - BOOL rslt2 = ::InternetSetCookie(domein,name,val); - BOOL rslt = ::InternetSetCookieEx(domein,name,val, INTERNET_COOKIE_THIRD_PARTY,NULL); - wincheck(::GetLastError()); - } + }