aboutsummaryrefslogtreecommitdiff
path: root/src/reproject.c
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-03 14:07:18 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-03 14:07:18 +0000
commitc708840d2aed15fd048b5b73f539e0bb040c849f (patch)
tree77160634d9cac5cdda67f8c79c94c354cab7d41c /src/reproject.c
parent585ca628920b5eba3f6addddabcec9ca90527f19 (diff)
Error message windows
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@145 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/reproject.c')
-rw-r--r--src/reproject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reproject.c b/src/reproject.c
index 60ff104..15a3ca9 100644
--- a/src/reproject.c
+++ b/src/reproject.c
@@ -220,11 +220,13 @@ void reproject_open(ControlContext *ctx) {
if ( !ctx->cell ) {
printf("RP: No current cell\n");
+ displaywindow_error("No reciprocal unit cell has been specified.", ctx->dw);
return;
}
if ( !ctx->images ) {
printf("RP: No images!\n");
+ displaywindow_error("No images to reproject!", ctx->dw);
return;
}