#include <common.h>
#include <wm_renderer.h>
#include <richtext_messages.h>
+#include <stdio.h> // sscanf
#define LINES_PER_BLOCK 30
return ret;
}
-inline int Renderer_RichText_RenderText_Act(tWindow *Window, tRichText_Window *info, int X, int Row, const char *Text, int Bytes, tColour FG, tColour BG)
+static inline int Renderer_RichText_RenderText_Act(tWindow *Window, tRichText_Window *info, int X, int Row, const char *Text, int Bytes, tColour FG, tColour BG)
{
int rwidth;
// TODO: Fill only what is needed
if( ch == 0 ) break;
if( ch <=3 && bRender ) {
// Render previous characters
- curx += Renderer_RichText_RenderText_Act(Window, info, curx, Line, oldtext, Text - oldtext, fg, bg);
+ curx += Renderer_RichText_RenderText_Act(Window, info, curx, Line,
+ oldtext, Text - oldtext, fg, bg);
oldtext = Text;
}
switch(ch)