Skip to content

Commit

Permalink
M302de: Original-Bugfix: typo in Saft, Kraft message
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Kretzschmar committed Nov 18, 2014
1 parent a2d1ac1 commit 9055d87
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/custom/schick/rewrite_m302de/seg100.cpp
Expand Up @@ -746,6 +746,16 @@ void spell_saft_kraft(void)
/* set ae costs */
ds_writew(0xac0e, rounds);

#ifdef M302de_ORIGINAL_BUGFIX
char *p = (char*)get_dtp(96 * 4);

if (p[10] == 'L' && p[11] == 'E') {
/* change "VERWANDLET" into "VERWANDELT" */
p[10] = 'E';
p[11] = 'L';
}
#endif

/* prepare message */
sprintf((char*)Real2Host(ds_readd(DTP2)),
(char*)get_dtp(96 * 4),
Expand Down

0 comments on commit 9055d87

Please sign in to comment.