MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Init

Method Init

Libraries/unrar/unicode.cpp:586–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584
585
586void SupportDBCS::Init()
587{
588 CPINFO CPInfo;
589 GetCPInfo(CP_ACP,&CPInfo);
590 DBCSMode=CPInfo.MaxCharSize > 1;
591 for (uint I=0;I<ASIZE(IsLeadByte);I++)
592 IsLeadByte[I]=IsDBCSLeadByte(I)!=0;
593}
594
595
596char* SupportDBCS::charnext(const char *s)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected