[PATCH] libweston/compositor-rdp: fix no-break space U+A0 (U8+C2A0)
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Aug 14 12:34:09 UTC 2016
Hello All,
On 2016-08-09 20:11 +0200, Yann E. MORIN spake thusly:
> There is a UTF-8 no-break space (U+A0, U8+C2A0) in the definition of
> macro NSC_RESET in the case of 1.2.2 <= FreeRDP < 2.0.
>
> This is causing build issues (\302 is 0xC2, \240 is 0xA0):
> http://autobuild.buildroot.net/results/f49/f49a9cbb7bdc5d9e05dcf0a20bd83f059e234e74/build-end.log
>
> Fix that by using a plain, boring space U+20.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> ---
> libweston/compositor-rdp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c
> index 11f5f05..ee81300 100644
> --- a/libweston/compositor-rdp.c
> +++ b/libweston/compositor-rdp.c
> @@ -58,7 +58,7 @@
> # define NSC_RESET(C, W, H) nsc_context_reset(C, W, H)
> # define RFX_RESET(C, W, H) rfx_context_reset(C, W, H)
> #else
> -# define NSC_RESET(C, W, H) do { nsc_context_reset(C); C->width = W; C->height = H; } while(0)
> +# define NSC_RESET(C, W, H) do { nsc_context_reset(C); C->width = W; C->height = H; } while(0)
Ping? It's been reviewed but not yet applied. Is there something
missing? ;-)
Regards,
Yann E. MORIN.
> # define RFX_RESET(C, W, H) do { rfx_context_reset(C); C->width = W; C->height = H; } while(0)
> #endif
> #define FREERDP_CB_RET_TYPE BOOL
> --
> 2.7.4
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the wayland-devel
mailing list