~ubuntu-branches/ubuntu/saucy/sgt-puzzles/saucy-proposed

« back to all changes in this revision

Viewing changes to bridges.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings
  • Date: 2010-02-15 14:33:45 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100215143345-32zu1tu6aybd9txl
Tags: 8786-1
* New upstream version
  - Correct minor documentation errors - closes: #522439, #548472
* Update German translation, thanks to Helge Kreutzmann
* Correct minor documentation errors, thanks to Helge Kreutzmann
  - closes: #554341

Show diffs side-by-side

added added

removed removed

Lines of Context:
2479
2479
#ifdef DRAW_DSF
2480
2480
    int ts = TILE_SIZE/2;
2481
2481
    int ox = COORD(x) + ts/2, oy = COORD(y) + ts/2;
2482
 
    char str[10];
 
2482
    char str[32];
2483
2483
 
2484
2484
    sprintf(str, "%d", dsf_canonify(state->solver->dsf, DINDEX(x,y)));
2485
2485
    draw_text(dr, ox, oy, FONT_VARIABLE, ts,
2556
2556
    int col = (v & G_ISSEL) ? COL_SELECTED : tcol;
2557
2557
    int bg = (v & G_CURSOR) ? COL_CURSOR :
2558
2558
        (v & G_MARK) ? COL_MARK : COL_BACKGROUND;
2559
 
    char str[10];
 
2559
    char str[32];
2560
2560
 
2561
2561
#ifdef DRAW_GRID
2562
2562
    draw_rect_outline(dr, COORD(is->x), COORD(is->y),
2759
2759
 
2760
2760
    /* Islands */
2761
2761
    for (i = 0; i < state->n_islands; i++) {
2762
 
        char str[10];
 
2762
        char str[32];
2763
2763
        struct island *is = &state->islands[i];
2764
2764
        grid = GRID(state, is->x, is->y);
2765
2765
        cx = COORD(is->x) + ts/2;