blob: beb6d9385c34470cd66f813a2b429e6545e675b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- vfe/unix/unixconsole.cpp~ 2008-10-07 17:06:27.000000000 -0600
+++ vfe/unix/unixconsole.cpp 2008-11-08 14:11:58.000000000 -0700
@@ -281,10 +281,21 @@
if (user_code != current_code)
{
- fprintf(stderr, "%s: this pre-release version of POV-Ray for Unix %s\n",
- PACKAGE,
- current_week < 52 ? "has expired" : "is over twelve months old and is no longer usable"
- );
+ if (current_week < 52)
+ {
+ fprintf(stderr, "%s: this pre-release version of POV-Ray for Unix %s\n",
+ PACKAGE,
+ "has expired"
+ );
+ fprintf(stderr, "\nTo extend the license period, you can do something like the following\n(adjust syntax for your shell):\n\n export POVRAY_BETA=`povray --betacode 2>&1`\n\n");
+ }
+ else
+ {
+ fprintf(stderr, "%s: this pre-release version of POV-Ray for Unix %s\n",
+ PACKAGE,
+ "is over twelve months old and is no longer usable"
+ );
+ }
exit(RETURN_ERROR);
}
current_time = EXPIRE_AT + (current_week+1)*spw - current_time;
|