summaryrefslogtreecommitdiffstats
path: root/src/ppartsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppartsel.c')
-rw-r--r--src/ppartsel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ppartsel.c b/src/ppartsel.c
index ae8720f..7a6a1c7 100644
--- a/src/ppartsel.c
+++ b/src/ppartsel.c
@@ -50,6 +50,7 @@
#include "ppartsel.h"
#include "askloc.h"
#include "geometry.h"
+#include "geometryn.h"
#include "addpart.h"
#include "intrfn.h"
#include "poptions.h"
@@ -207,7 +208,7 @@ void menu_photorec(struct ph_param *params, struct ph_options *options, alloc_da
else if(strncmp(params->cmd_run,"geometry,",9)==0)
{
params->cmd_run+=9;
- change_geometry(params->disk, &params->cmd_run);
+ change_geometry_cli(params->disk, &params->cmd_run);
}
else if(strncmp(params->cmd_run,"inter",5)==0)
{ /* Start interactive mode */
@@ -440,7 +441,7 @@ void menu_photorec(struct ph_param *params, struct ph_options *options, alloc_da
case 'g':
case 'G':
if(options->expert!=0)
- if(change_geometry(params->disk, &params->cmd_run))
+ if(change_geometry_ncurses(params->disk))
done=1;
break;
case 'a':