*****************************************************************************/ { AROS_LIBFUNC_INIT struct Locale *loc; struct Hook hook; CONST_STRPTR buf, fstring, altfstring; LONG days; LONG retval = TRUE; hook.h_Entry = (HOOKFUNC)AROS_ASMSYMNAME(LocStrToDateGetCharFunc); hook.h_Data = &buf; REPLACEMENT_LOCK; loc = (struct Locale *)IntLB(LocaleBase)->lb_CurrentLocale; if (datetime->dat_StrDate) { struct DateStamp curr; buf = datetime->dat_StrDate; DateStamp(&curr); if (!strnicmp(buf, GetLocaleStr(loc, YESTERDAYSTR), strlen(GetLocaleStr(loc, YESTERDAYSTR)))) { datetime->dat_Stamp.ds_Days = curr.ds_Days - 1; } else if (!strnicmp(buf, GetLocaleStr(loc, TODAYSTR), strlen(GetLocaleStr(loc, TODAYSTR)))) {
HISTORY *****************************************************************************/ { AROS_LIBFUNC_INIT ULONG retval; REPLACEMENT_LOCK; DEBUG_CONVTOLOWER(dprintf("locToLower: char 0x%lx\n", character)); DEBUG_CONVTOLOWER(dprintf("locToLower: locale 0x%lx\n", (struct Locale *)IntLB(LocaleBase)->lb_CurrentLocale)); retval = ConvToLower((struct Locale *)IntLB(LocaleBase)->lb_CurrentLocale, character); DEBUG_CONVTOLOWER(dprintf("locToLower: retval 0x%lx\n", retval)); REPLACEMENT_UNLOCK; return retval; AROS_LIBFUNC_EXIT } /* LocToLower */ #undef LocaleBase