/[eliot]/eliot/utils/eliottxt.cpp
ViewVC logotype

Diff of /eliot/utils/eliottxt.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7.2.1 by afrab, Sun Oct 23 17:16:24 2005 UTC revision 1.7.2.2 by ipkiss, Sun Oct 23 20:58:20 2005 UTC
# Line 3  Line 3 
3   * Authors: Antoine Fraboulet <antoine.fraboulet@free.fr>   * Authors: Antoine Fraboulet <antoine.fraboulet@free.fr>
4   *          Olivier Teuliere  <ipkiss@via.ecp.fr>   *          Olivier Teuliere  <ipkiss@via.ecp.fr>
5   *   *
  * $Id$  
  *  
6   * This program is free software; you can redistribute it and/or modify   * This program is free software; you can redistribute it and/or modify
7   * it under the terms of the GNU General Public License as published by   * it under the terms of the GNU General Public License as published by
8   * the Free Software Foundation; either version 2 of the License, or   * the Free Software Foundation; either version 2 of the License, or
# Line 377  loop_training(Training &iGame) Line 375  loop_training(Training &iGame)
375                          help_training();                          help_training();
376                      else                      else
377                      {                      {
                         int res;  
378                          char *coord = next_token_alphanum(NULL, delim);                          char *coord = next_token_alphanum(NULL, delim);
379                          if (coord == NULL)                          if (coord == NULL)
380                          {                          {
# Line 385  loop_training(Training &iGame) Line 382  loop_training(Training &iGame)
382                              break;                              break;
383                          }                          }
384  #if 0  #if 0
385                            int res;
386                          if ((res = iGame.play(0, std::string(coord), std::string(token))) != 0)                          if ((res = iGame.play(0, std::string(coord), std::string(token))) != 0)
387                          {                          {
388                              fprintf(stderr, "Mot incorrect ou mal placé (%i)\n",                              fprintf(stderr, "Mot incorrect ou mal placé (%i)\n",

Legend:
Removed from v.1.7.2.1  
changed lines
  Added in v.1.7.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26