Changeset 1471


Ignore:
Timestamp:
Jun 14, 2012, 2:31:03 PM (7 years ago)
Author:
sam
Message:

neercs: fix an idiotic format string crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/neercs/neercs.cpp

    r1467 r1471  
    7575    int x3 = 13 + 7 * cos(m_time * 3.f);
    7676    caca_set_color_ansi(m_caca, CACA_CYAN, CACA_BLUE);
    77     caca_printf(m_caca, x3, 3, " LOL WUT ");
     77    caca_put_str(m_caca, x3, 3, " LOL WUT ");
    7878
    7979    int x4 = 6 + 5 * cos(m_time * 2.f);
    8080    caca_set_color_ansi(m_caca, CACA_YELLOW, CACA_RED);
    81     caca_printf(m_caca, x4, 12, "Le Caca C'Est Surpuissant");
     81    caca_put_str(m_caca, x4, 12, "Le Caca C'Est Surpuissant");
    8282
    83     caca_printf(m_caca, 0, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
    84     caca_printf(m_caca, 0, 1, " !\"#$%&'()*+,-./0123456789");
     83    caca_put_str(m_caca, 0, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
     84    caca_put_str(m_caca, 0, 1, " !\"#$%&'()*+,-./0123456789");
    8585}
    8686
Note: See TracChangeset for help on using the changeset viewer.