summaryrefslogtreecommitdiffstats
path: root/src/intrf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2007-12-21 08:29:06 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2007-12-21 08:29:06 +0100
commitcdb8cbe5fc19346f79922ca25cdc30f7ed88c6d1 (patch)
tree3967e2d9f4e1503ff1a6d0a515d6c75eb2b985fe /src/intrf.c
parentb9516d9e097065b0eb5f67e83304bb5e43a2f17e (diff)
In expert mode during RepairMFT, user can choose between MFT and MFTmirror if TestDisk can't find the correct one.
Diffstat (limited to 'src/intrf.c')
-rw-r--r--src/intrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intrf.c b/src/intrf.c
index a2a342d..4e89cbf 100644
--- a/src/intrf.c
+++ b/src/intrf.c
@@ -402,7 +402,7 @@ int wmenuUpdate(WINDOW *window, int y, int x, const struct MenuItem *menuItems,
{
log_critical("\nBUG: %s\n",mi);
}
- if(lenName > itemLength)
+ if(lenName >= itemLength)
{
if( menuType & MENU_BUTTON )
snprintf(buff, sizeof(buff),"[%s]",mi);