forked from Imagelibrary/rtems
shell: remove rtems ifdef, upstream is correct
This commit is contained in:
@@ -142,15 +142,7 @@ retry:
|
|||||||
pad = 3 - width;
|
pad = 3 - width;
|
||||||
if (pad < 0)
|
if (pad < 0)
|
||||||
pad = 0;
|
pad = 0;
|
||||||
#if defined(__rtems__)
|
|
||||||
{
|
|
||||||
wchar_t wc_tmp[2] = {0,0};
|
|
||||||
wc_tmp[0] = wc;
|
|
||||||
(void)printf("%*s%lc", pad, "", wc_tmp);
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
(void)printf("%*s%lc", pad, "", wc);
|
(void)printf("%*s%lc", pad, "", wc);
|
||||||
#endif
|
|
||||||
pr->mbleft = clen - 1;
|
pr->mbleft = clen - 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user