MCPcopy Create free account
hub / github.com/JHRobotics/softgpu / setLineMeFix

Function setLineMeFix

actions.c:956–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

954}
955
956BOOL setLineMeFix(char *buf, size_t bufs, size_t fpos)
957{
958 (void)bufs;
959 (void)fpos;
960
961 if(version_compare(&sysver, &WINVERME) > 0 &&
962 isSettingSet(CHBX_WINE))
963 {
964 size_t s_full = strlen(buf);
965 size_t s_prefix = sizeof(";mefix:") - 1;
966 size_t i;
967
968 // memmove(buf, buf + s_prefix, s_full - s_prefix + 1);
969 for(i = 0; i < s_full - s_prefix + 1; i++)
970 {
971 buf[i] = buf[i + s_prefix];
972 }
973 }
974
975 return TRUE;
976}
977
978BOOL setBug565(char *buf, size_t bufs, size_t fpos)
979{

Callers

nothing calls this directly

Calls 2

version_compareFunction · 0.85
isSettingSetFunction · 0.85

Tested by

no test coverage detected