Skip to content

Commit

Permalink
2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancorvussolis committed May 4, 2021
1 parent 07d167e commit 39a754b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.TXT
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

-------------------------------------------------------------------------------

crvskkserv 2.5.0
crvskkserv 2.5.1

-------------------------------------------------------------------------------

Expand Down
8 changes: 4 additions & 4 deletions crvskkserv/crvskkserv.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#pragma once

#define RC_PRODUCT "crvskkserv"
#define RC_VERSION "2.5.0"
#define RC_VERSION_D 2,5,0,0
#define RC_TITLE "crvskkserv (ver. 2.5.0)"
#define RC_VERSION "2.5.1"
#define RC_VERSION_D 2,5,1,0
#define RC_TITLE "crvskkserv (ver. 2.5.1)"
#define RC_AUTHOR "nathancorvussolis"

#define APP_TITLE L"crvskkserv"
#define APP_VERSION L"2.5.0"
#define APP_VERSION L"2.5.1"
#define RES_VER RC_PRODUCT "/" RC_VERSION " "

#define REQ_END '0'
Expand Down
6 changes: 6 additions & 0 deletions crvskkserv/search_dictionary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ void search_dictionary(DICINFO &dicinfo, const std::string &key, std::string &s)
break;
}

// LF
if (sbuf.back() != '\n')
{
sbuf.push_back('\n');
}

size_t cidx = sbuf.find("\x20/");
if(cidx != std::wstring::npos && cidx < sbuf.size())
{
Expand Down

0 comments on commit 39a754b

Please sign in to comment.